Forum Discussion
User is not authorized to query the management service.
- Feb 24, 2020
Hanif1138 : To actually see the error message for the specific issue use the following cmdlet which is documented under "View error message for a failed activity in our troubleshooting guidance.
- Get-RdsDiagnosticActivities -TenantName <tenantname> -ActivityId <ActivityGuid> -Detailed | Select-Object -ExpandProperty Errors
When you look at the error for your activity it looks like you haven't created an app group. Here the link on how to manage app groups:
https://docs.microsoft.com/azure/virtual-desktop/manage-app-groups
Hanif1138: Please review if you have specified the tenant when querying the diagnostic activities:
https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/get-rdsdiagnosticactivities
Here are as well some examples specified: https://docs.microsoft.com/en-us/azure/virtual-desktop/diagnostics-role-service