I just want to run a simple Powershell-script in an Azure Runbook. After complete the script in the testing pane powershell doesn't recognize "Connect-AzureRmAccount" as an command. It's weird because in another runbook I can run the same command without problems.
Normally, you have to install and import the required module, but this isn't available in a runbook.
Do you have any suggestions?
Best regards
You do not have to install or import-module into a runbook. See this link: https://sharepointyankee.com/2018/02/26/importing-powershell-modules-into-azure-automation/