@Jimy
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Error Message:
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/a0000000-0000-000-0000-000000000000/resourcegroups/azure_purview/providers/microsoft.operationalinsights/workspaces/purviewloganalyticsworkspace.
Issue:
I'm getting this below error when trying to access my Log analytics workspace from Azure AD and Entra portal. That resource group and workbook has been deleted already and no longer exist (tried PowerShell command to delete as well and it says the resource group no longer exists). I'm doing this on my test tenant. I've also assigned myself below roles under my subscription and I'm global admin for this subscription.
Solution:
You were able to resolve your issue by changing the default workbook to a new workbook.
I have resolved this issue by changing default workbook selected (which no longer exists) with a new workbook.
- If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.