Unable to create a log anaylytics workspace

InkRunner 6 Reputation points
2020-12-21T19:07:16.017+00:00

I try to create a log analytics workspace:

{"code":"AuthorizationFailed","message":"The client 'MYEMAILADDRESS' with object id '---' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourceGroups/write' over scope '/subscriptions/---/resourceGroups/workspaces' or the scope is invalid. If access was recently granted, please refresh your credentials."}

I am a global admin on the tenant. It says we azure ad premium p1

I also cannot create diagnostic settings

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,632 questions
{count} vote

3 answers

Sort by: Most helpful
  1. James Hamil 23,216 Reputation points Microsoft Employee
    2020-12-21T21:42:25.997+00:00

    Hi @InkRunner , please re-apply your global admin settings where possible and try this again. If it doesn't work, try creating the log analysis workspace in Powershell. Please let me know if I can answer any other questions.

    Thank you,
    James

    0 comments No comments

  2. InkRunner 6 Reputation points
    2020-12-21T23:30:20.19+00:00

    How do I re-apply my admin settings? Also, how will i add diagnostic settings? It only shows 2 of the 4 licenses i have for azure in the diag settings

    0 comments No comments

  3. Jesse Beukenboom 0 Reputation points
    2023-04-13T16:36:52.7433333+00:00

    I'm having the exact same issue, has there been any updates?

    0 comments No comments