Month: December 2018

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

Uncategorized

#MachineLearning – Free Ebook [Pattern Recognition and Machine Learning] from Christopher Bishop

via #MachineLearning – Free Ebook [Pattern Recognition and Machine Learning] from Christopher Bishop