OMS – Azure Activity Logs Solution – Access to the Subscription was Lost


 

Error

Seen in the Azure Activity Logs solution view.

Detail: Access to the subscription was lost. Ensure that the XXX subscription is in the XXX Azure Active Directory tenant. If the subscription is transferred to another tenant, there is no impact to the services, but information for the tenant could take up to an hour to propagate.
SourceSystem: OpsManager
SoureComputerID: all zeros
OperationStatus = Failed
OperationCategroy = Azure Activity Log Collection
Solution: AzureActivity

 

Possible Causes

  1. OMS is attempting to reach a subscription that has been deleted or is expired
  2. The AAD tenant associated with the subscription has changed

 

Solution

Method 1:

Disconnect the “problem” subscription from the Azure Activity Logs via the Azure ARM Portal.

  1. Open the ARM Portal
  2. Go to Log Analytics -> [your workspace] -> Azure Activity Logs (under Workspace Data Sources)
  3. From the listing of subscriptions, select the one you wish to disconnect
  4. In the new blade, click “Disconnect” from the blade header

Method 2:

Remove the OMS Azure Activity Logs solution (also known as Activity Log Analytics) either via the OMS portal or the Azure ARM Portal.  Then re-add the solution to your workspace.

Notes:

  • do NOT delete Log Analytics from the ARM portal.  This is NOT a solution and will delete your OMS workspace
  • Removing the Azure Activity Logs solution will NOT delete existing data.  Once you re-add the solution all events will reappear

Comments (2)

  1. Jimmy says:

    I will immeditely clhtch yoour rss ass I ccan nott tto findd ypur email subscripion linnk oor e-newsletter
    service. Do you’ve any? Kindsly allow me recognize soo that I maay subscribe.
    Thanks. Thiss iis a topic tha iss clkse tto mmy heart…
    Cheers! Exacttly wheree arre youhr comtact dertails
    though? I wll immeciately clutch yourr rss aas I can noot fin yor e-mail subscriptionn hyperpink orr newslettr service.
    Do yoou have any? Pleae permmit mme recognise sso
    hat I mmay subscribe. Thanks. http://cspan.org/

    1. Nicole Welch says:

      Jimmy – I’m so glad you found the article helpful. There is a link on the my main page to follow the blog via email (https://blogs.msdn.microsoft.com/nicole_welch/)

Skip to main content