- changed status to resolved
Could Not Autoload Matching Module
Working with the latest 4.1.3 build, if i create a brand new PowerShell Script Project, and attempt to execute Add-AzureRmAccount, i simply get an error that reads:
Add-AzureRmAccount : The 'Add-AzureRmAccount' command was found in the module 'AzureRM.Profile', but the module could not be loaded. For more information, run 'Import-Module AzureRM.Profile'.
Running the same command in Windows PowerShell ISE works fine, i get the Azure login prompt, and it also works fine on my colleagues machine - i did not get a chance to check their PowerShell Tools version yet though.
I have tried this on VS2017, and 2019 Preview.
AzureRM - 6.13.1
Name Value
---- -----
PSVersion 5.1.17763.134
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.134
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Comments (2)
-
-
reporter cheers Adam, that is awesome... so it was a genuine defect then, and not some crazy thing i had messed up on my machine. phew!
will try when back from holiday👍🏼
- Log in to comment
This has been resolved in 4.1.4.