Forum Discussion
Christopher Anderson
Mar 26, 2019Copper Contributor
Error: User is not authorized to query the management service
When following the directions below, I always run into an error related to querying the management service. https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketpl...
Michael_Azure_Willems
Mar 25, 2020Copper Contributor
What worked for me in a lab environment:
I had one user that is the one I registered Azure with, and a new administrator account for all activities.
The administrator had all roles, but not the assignment TenantCreator. So I added this to the administrator.
Enterprise applications > Virtual desktop > users and groups > add user > select on the right side godzilla > tenantcreator (was selected by default - lab...) > next > finish
You need to login again to apply
Open a new Powershell
Login with
Add-RdsAccount -deploymenturl "https://rdbroker.wvd.microsoft.com"
run
New-RdsTenant -Name <TenantName> -AadTenantId <AadTenantID/TenantID> -AzureSubscriptionID <AzureSubscriptionID>