Azure / Azure-Network-Security

Resources for improving Customer Experience with Azure Network Security
MIT License
783 stars 303 forks source link

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 closed 1 month ago

AllenOnAzure commented 8 months ago

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

Desktop (please complete the following information if applicable): Windows OS 11

Logs- if applicable

Additional context Add any other context about the problem here.

github-actions[bot] commented 8 months ago

Message that will be displayed on users' first issue

shabaz-github commented 6 months ago

@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 commented 1 month ago

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