Forum Discussion
klskln
Jun 15, 2020Copper Contributor
WVD REST API 401
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.
- Soo Kuan TeoMicrosoftYou need to use ADAL for authentication. https://docs.microsoft.com/en-us/rest/api/azure/