Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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'. #347

Closed
AllenOnAzure opened this issue Feb 5, 2024 · 3 comments

Comments

@AllenOnAzure
Copy link

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'.

image
fwerr01

Reproduce
Steps to reproduce the behavior:

  1. 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.

Copy link

github-actions bot commented Feb 5, 2024

Message that will be displayed on users' first issue

@shabaz-github
Copy link
Collaborator

@AllenOnAzure Hello, is this issue related to any of the artifact in this repository? Could you please be specific about the artificat here. Thanks

@shabaz-github
Copy link
Collaborator

Closing this issue as there is no response. Please submit an issue with clear details on which artifact this is related to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants