Category: Azure

Azure

Moving your Azure Resources to Another Subscription or Resource Group

At some point or another you may  need to move your Azure resources to either another Azure Resource Group or to another Azure Subscription. This is easy to do and is useful when organizing your resources for management or billing scenarios. Before moving any resources it’s best to take a look at the following checklist before moving resources link.

Ok let’s get started. In this example I’ll be moving an Azure Resource Group with a number of services over to another Azure Subscription.

Steps to move resources

Step 1 – Navigate to the resource group you want to move. Go to the Resource groups blade in the Azure portal and then navigate to the particular resource group.

image

Step 2 – Click on Move button and then select Move to another subscription option.

image

Step 3 – Next in the resources to move screen, review the resources that are to be moved over which are all automatically selected. Then select the subscription and resource group you want to move target. If the resource group is not already created, you can create it now by clicking on the link to create a new resource group.

image

Step 4 – Now click on the OK button to start the process. The job will then be validated and then you will see a notification of the movement in progress, followed by a success or failure notification. In the event of a failure, details will be provided on why the resources could not be moved. Usually after working through these issues you can try again.

image

image

Step 5 – You should now go to the new resource group you created and verify all the resources are accounted for and that the resources still function as intended.

Step 6 – Finally you want to tidy up and delete the original resource group on the source subscription as it’s now empty and should not be used again. To do this go to the original resource group and click on Delete resource group button. You will be prompted to type in the name of the resource group to confirm you want to continue.

image

Summary

This article covered moving a resource group and all of its resources from one subscription to another. The same process is applicable when moving resources from one resource group to another within the same subscription.

Enjoy!

References

Move resources to new resource group or subscription

Azure

Azure Overview Tool

Have you ever wanted to find out if a particular Azure service is in preview or generally available? Fellow Azure MVP Barry Luijbregts created a great website which provides up-to-date status of Azure services.

image

Azure is constantly changing and is sometimes overwhelming to try and keep up with what’s in preview vs generally available. What is awesome about this website is that it’s more up to date than the other Microsoft sites that try to provide this information.

The website is also open source, and you can check out the source code on GitHub: https://github.com/bmaluijb/AzureOverview.

I’ve definitely added this site to my bookmarks and look forward to further enhancements. Thanks Barry!

Enjoy!

References

https://www.azureoverview.com/

https://www.azurebarry.com/find-the-status-of-azure-services-on-azureoverview-com/

AzureDevOps

Introducing the Azure DevOps Service Status Portal

Last week Microsoft introduced the Azure DevOps Service status portal which provides real-time insights into the current health of Azure DevOps regional feature status and provides additional details on specific events either current or historical.

When you go to the Azure DevOps Service status portal, the main dashboard shows you a 2-dimensional matrix mapping of the feature with geographic regions as shown below.

image

To see current or historical events, click on the Status History link where you can filter the results by service type, categories, severity and then date range:

image

Clicking on a particular event log will take you to the event log page which shows all details about the event, what was affected, when it was resolved, and then any workarounds that users can take if needed.

image

REST APIs will be coming soon for users looking to build automated solutions to watch the service status.

For service health updates relating to Azure’s global services, please refer to the Azure Status page.

For more information on the new Azure DevOps Service status portal, please refer to the Azure DevOps Service Status documentation.

Enjoy!

References

Azure DevOps Service Status portal

Azure DevOps Service Status documentation

AzureDevOps

Authenticate Azure DevOps against its own REST API

toon vanhoutte

During Azure DevOps build and release pipelines, you might have the need to consult the Azure DevOps REST API.  This blog explains how you can easily perform the authentication that is required to call that REST API.

Enable OAuth Authentication

First of all, you need to check the option Allow scripts to the OAuth token.  This enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessToken variable.  This setting is somewhere hidden in the Additional options of the Agent Job:

Access1

Use the OAuth token inside the script

Within a PowerShell script you can now retrieve the System.AccessToken variable and use it to authenticate against the Azure DevOps REST API.  A simplified example:

#Set authorization headers Write-Host Set authorization headers $headers = @{ Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN" } #Invoke REST API Write-Host Invoke REST API Invoke-RestMethod $url -Method $method -Body $body -Headers $headers -ContentType 'application/json'…

View original post 90 more words

AzureDevOps

Azure DevOps rolls out a dark theme preview

This week Azure DevOps finally rolled out one of their most requested feature, a dark theme. I use dark theme for just about any app that supports it, so this is a welcome addition to Azure DevOps. Keep in mind that this is just a preview and is still being refined.

To switch to Dark theme, go to your Azure DevOps portal and click on your user dropdown menu in the top right corner. Then click on Theme menu item.

image

The theme options pane will then be displayed. Click on the Dark (preview) option to switch to the dark theme.

image

Voila! DevOps in Dark theme.

image

Switching to dark theme is a personal choice and is not something that is forced across your organization, which is nice. I recommend you give it a try and see for yourself.

Enjoy!

References

https://azure.microsoft.com/en-us/services/devops/

https://blogs.msdn.microsoft.com/devops/2018/11/01/whats-new-in-azure-devops-sprint-142-update/

ArchitectureAzureEvents

BRK3341 – Architect your solution with queues, grids, and hubs: When to use which and for what

image

Azure provides a lot of messaging solutions and it can become overwhelming for architects and developers to know when to use which server and for what use case. In this talk, Bahram Banisadr will show real life scenarios, code and discuss architecture patterns for messaging and events using Azure Event Hubs, Service Bus, Event Grid, and Storage Queues.

image

Watch the session for more details.

Enjoy!

References

BRK3341 – Architect your solution with queues, grids, and hubs: When to use which and for what

Microsoft Ignite 2018

Azure Event Grid

Azure Event Hubs

Azure Service Bus

Azure Storage Queues

AzureBooksDevOps

Download e-book ‘Effective DevOps’

DevOps is a culture and practice that unifies people, processes and tools across development and operations groups that aims to help deliver software faster and more reliably.

In this e-book from from O’Reilly, you get a practical guide for improving collaboration across teams, promoting efficient use of tools, and using the concepts of DevOps to work more effectively. You’ll also:

  • Explore the foundations and four pillars of effective DevOps: Collaboration, affinity, tools, and scaling.
  • Get an overview of DevOps, including the evolution, foundational terminology, and concepts.
  • Understand common misconceptions about DevOps and anti-patterns used in the practice.

See what it looks like to make effective changes in your organization using a DevOps mindset.

Download the e-book from here. This book was published on August 31, 2018.

Enjoy!

References

Microsoft Azure DevOps

Download e-book Effective DevOps