Forum Discussion
MaranVerweij
May 18, 2020Copper Contributor
Custom role - Microsoft.DesktopVirtualization permissions not complete
When creating a custom role using Microsoft.DesktopVirtualization (with all permissions options selected) not all AzWVD CMDlets can be executed, when this role is assigned to a service principal. All...
- Jun 04, 2020
It was the complete list of all permissions in Microsoft.DesktopVirtualization. The issue was fixed by replacing the 3 lines below:
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/delete","Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/write","Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/read",by:
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/*",Thanks for the follow up though!
PavithraT
Microsoft
Jun 02, 2020MaranVerweij What is the custom role permissions?
MaranVerweij
Jun 04, 2020Copper Contributor
It was the complete list of all permissions in Microsoft.DesktopVirtualization. The issue was fixed by replacing the 3 lines below:
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/delete",
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/write",
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/read",
by:
"Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/*",
Thanks for the follow up though!