Manage user application group assignments through REST API

%3CLINGO-SUB%20id%3D%22lingo-sub-1447996%22%20slang%3D%22en-US%22%3EManage%20user%20application%20group%20assignments%20through%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447996%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20started%20using%20the%26nbsp%3B2019-12-10-preview%20WVD%20REST%20API%20but%20got%20stuck%20when%20it%20comes%20to%20managing%20user%20assignments.%3CBR%20%2F%3E%3CBR%20%2F%3EAccording%20the%20Azure%20github%20repository%20it%20should%20be%20possible%20to%20at%20least%20get%20the%20list%20of%20user%20application%20group%20assignments%20using%20%2Fsubscriptions%2F%7BsubscriptionId%7D%2FresourceGroups%2F%7BresourceGroupName%7D%2Fproviders%2FMicrosoft.DesktopVirtualization%2Fworkspaces%2F%7BworkspaceName%7D%2FuserApplicationGroupAssignments%20but%20GET%20requests%20to%20this%20URI%20always%20return%20error%20404.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20that%20I'm%20not%20seeing%20to%20manage%20user%20application%20group%20assignments%20with%20WVD%20REST%20API%20or%20is%20this%20functionality%20currently%20only%20supported%20through%20the%20Azure%20Portal%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have started using the 2019-12-10-preview WVD REST API but got stuck when it comes to managing user assignments.

According the Azure github repository it should be possible to at least get the list of user application group assignments using /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments but GET requests to this URI always return error 404.

 

Is there a way that I'm not seeing to manage user application group assignments with WVD REST API or is this functionality currently only supported through the Azure Portal?

1 Reply
Have you got a link to the Github?

I am not sure if you can get this information at present and I can't find any official documentation for the new Spring 2020 Arm based platform.

The only info I could find was this link:
https://www.microsoft365.nl/2020/05/04/wvd-windows-virtual-desktop-rest-api/

which explains a few of the new REST calls but not specifically users.

Also, the Spring 2020 update uses Azure Role Assignments to define user rights over the application groups. So I am not sure if you would need to check Role Assignments scoped to the Application Group?