Forum Discussion
BerndLoehlein
Microsoft
Apr 21, 2021Deallocate VM on user logoff
Recently we've announced the public preview of start VM on connect which will allow your deallocated virtual machines getting started automatically when the assigned user tries to connect. Let us hav...
- Sep 20, 2021
Could you please try to update the custom role used for Start VM on Connect and add Microsoft.Compute/virtualMachines/instanceView/read to it? This should ensure that sessions are removed in the service upon deallocation of the virtual machine.
We've already updated our docs for Start VM on Connect, but could be easily missed by customers already using this feature.
lokeshchouksey
Jul 06, 2022Copper Contributor
BerndLoehlein ,need your help i am getting this error ,however i have followed the same.
Invoke-WebRequest : {"error":{"code":"AuthorizationFailed","message":"The client
'aa8367c5-e8a0-3333-a1e9-b377d7c0922a' with object id 'aa8367c5-e8a0-3333-a1e9-b377d7c0922a' does not have authorization to perform action.