Change OMS Workspace Azure Subscription

Chiyo OdikaAZURE, Microsoft Operations Management Suite, OMS2 Comments

While you can perform many administrative tasks for your OMS account from your OMS workspace, there are a number of settings that you will only be able to configure from the Azure Portal or using relevant PowerShell cmdlets. I’ll cover the range of settings that you can configure from your OMS workspace and the Azure portal in another post. In this post I will show you how to move your OMS workspace to a new Azure subscription, regardless of how you created the workspace, and explore some gotchas I’ve encountered during my extensive travels in OMS land.


Workspace Creation Overview

Recall that you can create a OMS workspace in one of two ways. From:

  • The Microsoft Operations Management Suite Website.
  • A Microsoft Azure subscription.

How you choose to create the OMS workspace is entirely up to you, and I’ve found both methods to be seamless, and rather intuitive. But for the purposes of associating a workspace with a Azure subscription, you will find it easier to create your Log Analytics instance from within your Azure subscription because it immediately prompts you to link to a subscription that your account has requisite permissions to, as seen below, and thinking of the resource management and logical grouping paradigm, this is the better way to go, subjectively speaking. This is in addition to the other benefits of linking to a Azure subscription upon creation, including that you now have your Azure portal and OMS workspace access associated to your Azure account, and can change workspace plans ( pricing tiers) by virtue of this. etc.


Creating the workspace from Microsoft Operations Management Suite website and associating to a Azure subscription is just as easy, but this isn’t always the case. The following are some scenarios that will necessitate your changing the Azure subscription associated to your OMS workspace:

  • You created your OMS workspace and linked to the wrong Azure subscription
  • You created and linked a new Azure subscription upon OMS workspace creation, and would now like to link the workspace to another Azure subscription for some reason
  • Upon creating the OMS workspace you chose to use a free plan, and now want to upgrade to a ‘pay-as-you-go plan.’
  • A OMS workspace was created by someone else and linked to a free-trial Azure subscription. You need to associate this OMS workspace to another Azure subscription.

What Azure Subscription is my workspace Associated with?

At first glance, this seems easy to determine, and it usually is, unless the last scenario above applies to you. I’ll cover two broad scenarios:


Scenario #1:

Let’s review the general scenario here. You created a OMS workspace and linked to a ‘pay-as-you-go’ (NOT free trial) Azure subscription.

To determine what Azure subscription your OMS workspace is linked, you can do this from the OMS workspace.

  1. Sign into the OMS workspace.
  2. From the overview page, click on Settings
  3. In the Settings Dashboard, click on the Account tab.
  4. In the accounts space, click on Azure subscription & Data Plan.



Alternatively, you can determine this from the Azure portal from the properties of the Log analytics

  1. Sign into the Azure portal.
  2. Browse for Log Analytics (OMS) and then select it.
  3. Select your workspace from the list of existing workspaces.


  4. Under Essentials, review the subscription name



Scenario #2:

In this scenario, which really isn’t that farfetched, you or someone else creates a OMS workspace, and associates it with a  free-trial Azure subscription. This is fairly straightforward if you have your Azure accounts in order, and sign into the Azure portal with the same account that you use to authenticate to the OMS workspace. If this isn’t the case, here are some issues you could encounter with this scenario.

When linked to a free trial, it doesn’t appear that this is indicated in the OMS workspace as shown below. The subscription field could be blank, and you can safely surmise that the workspace is linked to a free-trial subscription.




If this scenario applies to you, and in order to move this OMS workspace to another subscription use the Azure account that was used to create the free-trial Azure subscription (at the time you created the OMS workspace) to perform the steps below:


Change OMS Workspace Azure Subscription

You change the Azure subscription that your OMS workspace is linked to, in one of 2 ways.

  1. Use the Azure PowerShell Move-AzureRMResource cmdlet.
  2. Change the Log Analytics properties from the Azure portal.


Review the linked resource for how to use the referenced cmdlet. To make this change from the portal:

  1. Sign into the Azure Portal.
  2. Browse for and select Log Analytics (OMS).
  3. Select your workspace from the list of existing workspaces (if this is a free-trial subscription, you’ll likely have the single workspace here).
  4. Under Essentials, find the subscription name and click the edit icon.image
  5. in the resulting Move resources window, select your new subscription, and resource group. (this assumes that your Azure account has requisite access to more than one subscription).



If you encounter any other wild scenarios, I’ll be taken aback, but happy to review. Cheers mates!

The following two tabs change content below.
Strategist. Technologist. Skeptic. Friend.
Chiyo OdikaChange OMS Workspace Azure Subscription