Forum Discussion

BerndLoehlein's avatar
BerndLoehlein
Icon for Microsoft rankMicrosoft
Apr 21, 2021

Deallocate 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...
  • BerndLoehlein's avatar
    BerndLoehlein
    Sep 20, 2021

    HenryGelderbloem PatrickBrack 

    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.