WVD REST API 401

Copper Contributor

Hi,

 

when running the RestAPI commands, either by the "Try It" function in the documents or via a script, I receive a 401 error. The account I am using is a tenantcreator on the Windows Virtual Desktop enterprise app and Global Admin in the tenant. 

 

 

For example, I run this command is https://rdbroker.wvd.microsoft.com/RdsManagement/V1/TenantGroups/Default%20Tenant%20Group and receive a 401. This happens for any calls I make. 

1 Reply
You need to use ADAL for authentication. https://docs.microsoft.com/en-us/rest/api/azure/