microsoft / microsoft/Analysis-Services
Resolving PowerShell Module Import Error for FabricPS-PBIP
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 732
- Forks
- 433
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use the modules FabricPS-PBIP.psd1 and FabricPS-PBIP.psm1 to deploy .pbip files. I have installed PowerShell 7.2 and downloaded the module, placing it in C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP.
However, when I attempt to import the module, I receive the following error:
PS C:\Users\MVankudoth> Import-Module -Name "C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP" -Verbose
VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psd1'.
VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1'.
Import-Module: File C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 cannot be loaded. The file C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
Can you please assist me in resolving this issue?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names FabricPS-PBIP.psd1 and FabricPS-PBIP.psm1; start by checking the module's PowerShell import requirements and the reported execution-policy failure. Reproduce the Import-Module command in PowerShell 7.2 and verify whether the module imports successfully or what repository change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100