Hello -
I have a couple of VM's (Classic) and a Netwrok (Classic) configured in Azure tenant - I can view the properties for these resources in the Portal. I have been trying to get details through the shell for these resources and have run into a problem.
I run get-azurevm or get-azurermvm and the shell returns nothing. If I run get-azurermvm -resourcename "xxx' -resourcegroupname 'xxx' I get an error message saying - The resource 'Microsoft.Compute/VirtualMachines/xxx under resource group 'xxx' was not found.
If I run get-azurermresource I am able to get details for all of the resources in the tenant. I can also run get-azuresubscription with success as well.
I appreciate any assistance that can be provided to help get this sorted out.
PH