Insufficient permissions when I click on Log Analytics or Workbooks

Ludwig Wurmannstätter 0 Reputation points
2024-11-12T18:02:09.4366667+00:00

I'm in the Entra Admin Center under Monitoring & health and click on Workbooks I get an error saying "Insufficient permissions" and then showing me this (Subscription-ID cc01... is changed, this is not the one that is shown in the real error):

"In order for you to be able to leverage Log Analytics or Workbooks you first need to get permission for one of the following workspaces: /subscriptions/cc01cae4-1e4d-16a5-b331-1076320570b1/resourcegroups/aip-log-analytics-rg/providers/microsoft.operationalinsights/workspaces/aip-log-analytics-instance, /subscriptions/cc01cae4-1e4d-16a5-b331-1076320570b1/resourcegroups/ca-log-analytics-instance_rg/providers/microsoft.operationalinsights/workspaces/ca-log-analytics-instance"

I don't have that Subscription in my Tenant, nor in other Tenants I own for testing purposes, nor can I find the shown Ressource groups.

As all that is testing playground, I can't say for sure that the one or the other Subscription was used and is now deleted. But checking with the PS cmd Get-AzSubscription -TenantId here-comes-my-tenant-id it only shows one Subscription and not the one mentioned above in the error.

I even created a new Log Analytics Workspace with a new Workbook connected, but the error stays.

What else can I do to get Entra Monitoring up and running?

Greetings, Ludwig

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,330 questions
Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
460 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pranay Reddy Madireddy 625 Reputation points Microsoft Vendor
    2024-11-15T18:58:27.16+00:00

    Hi Ludwig Wurmannstätter
    Open PowerShell and connect to your Azure account by using the Connect-AzAccount cmdlet.

    Execute the following command to select the subscription that contains the workspace you wish to delete:

    Set-AzContext -SubscriptionId <SubscriptionId>

    Run the following command to delete the workspace:

    Remove-AzOperationalInsightsWorkspace -ResourceGroupName <ResourceGroupName> -Name <WorkspaceName>

    If you have any further queries, do let us know.


    If the answer is helpful, please click "Accept Answer" and "Upvote it".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.