microsoft / microsoft/powerbi-powershell

MicrosoftPowerBIMgmt 1.3.83 manifest declares sub-modules at 1.3.84 causing Install-Module dependency failure

Open
#437 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
413
Forks
134
Avg merge
33m
Merged PRs (30d)
1

Description

Description

MicrosoftPowerBIMgmt 1.3.83 was published to PSGallery with a RequiredModules manifest entry that references its sub-modules at version 1.3.84, while the sub-modules themselves were published separately at 1.3.83 (and later at 1.3.84).

This version mismatch causes Install-Module MicrosoftPowerBIMgmt -RequiredVersion 1.3.83 to fail on environments where the 1.3.84 sub-modules are not already cached, because PackageManagement attempts to resolve the declared dependency version and cannot find it.

Error

Install-Package: Unable to find dependent module(s) (MicrosoftPowerBIMgmt.Profile)

Steps to reproduce

# Clean environment (no MicrosoftPowerBIMgmt modules installed)
Install-Module MicrosoftPowerBIMgmt -RequiredVersion 1.3.83 -Force -Scope CurrentUser

Expected behaviour

MicrosoftPowerBIMgmt 1.3.83 installs successfully, with sub-modules resolved and installed at a consistent version.

Actual behaviour

Installation fails because the 1.3.83 manifest declares RequiredModules at 1.3.84:

Find-Module MicrosoftPowerBIMgmt -RequiredVersion 1.3.83 -IncludeDependencies

Version  Name                            Repository
-------  ----                            ----------
1.3.83   MicrosoftPowerBIMgmt            PSGallery
1.3.84   MicrosoftPowerBIMgmt.Admin      PSGallery
1.3.84   MicrosoftPowerBIMgmt.Profile    PSGallery
1.3.84   MicrosoftPowerBIMgmt.Capacities PSGallery
1.3.84   MicrosoftPowerBIMgmt.Data       PSGallery
1.3.84   MicrosoftPowerBIMgmt.Profile    PSGallery
1.3.84   MicrosoftPowerBIMgmt.Reports    PSGallery
1.3.84   MicrosoftPowerBIMgmt.Workspaces PSGallery

Environment

  • Windows Server 2025 (windows-2025-vs2026 GitHub Actions runner)
  • PowerShell 7.x
  • PowerShellGet 2.x

Suggested fix

Ensure the meta-module version and all declared RequiredModules versions are consistent at publish time (i.e. MicrosoftPowerBIMgmt 1.3.83 should declare sub-modules at 1.3.83, not 1.3.84).

Contributor guide

Open the contributing guide

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

Start by inspecting the MicrosoftPowerBIMgmt 1.3.83 manifest and the packaging or publish entry point that produces its RequiredModules versions. Reproduce the clean-environment Install-Module command, then use Find-Module -IncludeDependencies to verify that the meta-module and sub-modules resolve consistently at 1.3.83.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.