microsoft / microsoft/Analysis-Services

Resolving PowerShell Module Import Error for FabricPS-PBIP

Open
#305 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.