WVD RestAPI 401 Error

%3CLINGO-SUB%20id%3D%22lingo-sub-1259464%22%20slang%3D%22en-US%22%3EWVD%20RestAPI%20401%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1259464%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20running%20the%20RestAPI%20commands%2C%20either%20by%20the%20%22Try%20It%22%20function%20in%20the%20document%20or%20via%20a%20script%2C%20I%20receive%20a%20401%20error.%20Where%20do%20I%20need%20to%20add%20additional%20permissions%20so%20I%20can%20query%20the%20restapi%3F%20The%20account%20I%20am%20using%20is%20a%20tenantowner%20on%20the%20Windows%20Virtual%20Desktop%20enterprise%20app.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20I%20run%20this%20command%20is%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Frdbroker.wvd.microsoft.com%2FRdsManagement%2FV1%2FTenantGroups%2FDefault%2520Tenant%2520Group%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Frdbroker.wvd.microsoft.com%2FRdsManagement%2FV1%2FTenantGroups%2FDefault%2520Tenant%2520Group%3C%2FA%3E%26nbsp%3Band%20receive%20a%20401.%20This%20happens%20for%20any%20calls%20I%20make.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-03-27_11-58-17.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F179980i1E099184D28B0E0F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%222020-03-27_11-58-17.jpg%22%20alt%3D%222020-03-27_11-58-17.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1462065%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20RestAPI%20401%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1462065%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F351866%22%20target%3D%22_blank%22%3E%40techguy129%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20news%20on%20this%3F%20Getting%20the%20same%20result%20(401).%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

When running the RestAPI commands, either by the "Try It" function in the document or via a script, I receive a 401 error. Where do I need to add additional permissions so I can query the restapi? The account I am using is a tenantowner on the Windows Virtual Desktop enterprise app. 

 

 

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. 

 

2020-03-27_11-58-17.jpg

 

 

 

 

1 Reply
Highlighted

@techguy129 

 

Any news on this? Getting the same result (401).