An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
Hi @Olga Os - MSFT !
Thank you for your time. I found this github article before. If I am using Get-AzWvdHostPool -Name $Hostpoolname -ResourceGroupName $ResourceGroupName
still getting the same error. ( Cannot bind argument to parameter 'SubscriptionId' because it is null.)
I did create a new app as you suggested with contributor role on the subscription and used, the commands you gave me. The Select-AzureRmSubscription command works which is good news. But I am using the (or least trying) the Get-AzWvdSessionHost command.
Please help me understand. This command (Get-AzWvdSessionHost) is part of the AZ module, which is not equal AzureRM module, and both module somehow cannot be imported in one session. Why? (this article does not help https://github.com/Azure/azure-powershell/blob/main/documentation/migration-guides/Az.1.0.0-migration-guide.md)
If we are using the AzureRM module I cannot find equivalent command to Get-AzWvdSessionHost in the RM module. My goal is to get the WVDsession hosts (in a host pool) drain mode state.
Thank you
Peter