Failed The 'New-AzureStorageContext' command was found in the module 'Azure.Storage', but the module could not be loaded. For more information, run 'Import-Module Azure.Storage'.
AllenOnAzure opened this issue · comments
When I run the script in my Automation Account, I keep getting the following failed message:
Failed
The 'New-AzureStorageContext' command was found in the module 'Azure.Storage', but the module could not be loaded. For more information, run 'Import-Module Azure.Storage'.
Reproduce
Steps to reproduce the behavior:
- Create a new runbook and paste the script and Test pane
Expected behavior
The runbook is expected to run successfully.
Screenshots
If applicable, add screenshots/images to help explain your problem.
Environment- if applicable
- What version of CLI was used [Az –version]
Desktop (please complete the following information if applicable):
Windows OS 11
Logs- if applicable
- If logs are available, please provide relevant snippets
Additional context
Add any other context about the problem here.
Message that will be displayed on users' first issue
@AllenOnAzure Hello, is this issue related to any of the artifact in this repository? Could you please be specific about the artificat here. Thanks