
Explanation

Box 1: Get-AzResource
Use the following command to examine the access control mode for all workspaces in the subscription:
PowerShell
Get-Az Resource -Resource Type Microsoft. Operational Insights/workspaces -Expand Properties | for each
{s.Name + ": " + $_.Properties.features.enableLogAccessUsingOnlyResourcePermissions Box 2: -Resource Type Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/logs/manage-access