Forum Discussion
alexander tikhomirov
Apr 02, 2019Brass Contributor
New-RdsRoleAssignment : User is not authorized to query the management service
Hello I am trying to follow this manual to create service principal name to use it on Azure Portal in the blade of creating new single host pool https://docs.microsoft.com/en-us/azure/virtual-desk...
- Apr 08, 2019was my bad, I successfully executed this command to grant permission RDS Owner to "Windows Virtual Desktop Svc Principal" I have just used wrong TenantName
//Alexander
Stefan Georgiev
Apr 03, 2019Former Employee
Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
New-RdsRoleAssignment -RoleDefinitionName "RDS Owner" -ApplicationId $svcPrincipal.AppId -TenantGroupName $myTenantGroupName -TenantName $myTenantName
So this fails for the service principal? What account did you use for the Add-RdsAccount prompt...
- alexander tikhomirovApr 04, 2019Brass Contributor
I used my Global Admin credential. And the same account when I am checking has RDS Owner role and also this account was used to create new wvd tenant.
//Alexander
- alexander tikhomirovApr 08, 2019Brass Contributorwas my bad, I successfully executed this command to grant permission RDS Owner to "Windows Virtual Desktop Svc Principal" I have just used wrong TenantName
//Alexander- mntsupportAug 18, 2020Copper Contributor
alexander tikhomirov Where did you find your tenant name? I've been looking for WAY too long and the Get-RdsTenant and Get-RdsContext commands won't work for me.