Hi Team,
Get-AzVM : The term 'Get-AzVM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I am getting the error only while executing this from runbook within automation powershell.
When i execute from the cloud shell, i am getting the expected results. I noticed the same error for all the AZ modules commands.
i have tried to update the modules as mentioned in the document, but it didnt work out. Any help is much appreciated.

