The ‘Login-AzureRmAccount’ command was found in the module ‘AzureRM.Profile’, but the module could not be loaded

after you install Azure Powershell modules you get this error “The ‘Login-AzureRmAccount’ command was found in the module ‘AzureRM.Profile’, but the module could not be loaded”

fix this by running this powershell command with elevated rights
Set-ExecutionPolicy RemoteSigned

Leave a Reply