Azure-Samples / Azure-Samples/azure-files-samples

Unable to import the AzFilesHybrid module into an Azure Runbook

Open
#32 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
261
Forks
202
Avg merge
1d 5h
Merged PRs (30d)
4

Description

Error importing the module AzFilesHybrid. Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: An error occurred during module validation. When importing the module to an internal PowerShell session, it was not able to be loaded by PowerShell. There is likely an issue with the contents of the module that results in PowerShell's not being able to load it. Please verify that the module imports successfully in a local PowerShell session, correct any issues, and then try importing again.

Contributor guide

Open the contributing guide

Research direction

Start with the AzFilesHybrid module and reproduce its import in a local PowerShell session, then compare that result with importing it into an Azure Runbook. The issue is complete when the module passes local PowerShell validation and imports successfully in the Runbook without the ModuleImportException.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.