Unable to create a log anaylytics workspace

InkRunner 6 Reputation points

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.
19,297 questions
{count} vote

3 answers

Sort by: Most helpful
  1. James Hamil 21,386 Reputation points Microsoft Employee

    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,

    0 comments No comments

  2. InkRunner 6 Reputation points

    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

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

    0 comments No comments