microsoftgraph / microsoftgraph/entra-powershell

🪲 Accesing online help for cmdlet from powershell navigates to an invalid uri

Open
#1,561 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation Roadmap ToTriage
Dominant language
PowerShell
Stars
213
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Accessing the online help of a cmdlet navigates to an invalid URI. In the case of Get-EntraUser it navigates to https://learn.microsoft.com/nl-nl/powershell/module/Microsoft.Entra/Get-EntraUser rather than https://learn.microsoft.com/nl-nl/powershell/module/Microsoft.Entra.users/Get-EntraUser

To Reproduce

Steps to reproduce the behavior:

  1. Run Get-Help Get-EntraUser -Online
  2. The browser opens and navigates to https://learn.microsoft.com/nl-nl/powershell/module/Microsoft.Entra/Get-EntraUser which is invalid.

Expected behavior

The browser opens and navigates to https://learn.microsoft.com/nl-nl/powershell/module/Microsoft.Entra.users/Get-EntraUser.

Module Version

> Get-Module -Name "Microsoft*Entra*"

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     1.0.12                Microsoft.Entra.Authentication      {Add-EntraEnvironment, Connect-Entra, Disconnect-Entra, Find-EntraPermission…}
Script     1.0.12                Microsoft.Entra.Groups              {Add-EntraGroupMember, Add-EntraGroupOwner, Add-EntraLifecyclePolicyGroup, Get-EntraDeletedGroup…}
Script     1.0.12                Microsoft.Entra.Users               {Get-EntraDeletedUser, Get-EntraInactiveSignInUser, Get-EntraUser, Get-EntraUserAdministrativeUnit…}

Screenshots

Image

Additional context

I saw the problem with Get-EntraUser and Get-EntraGroup. I suspect other cmdlet - or all of them - have the same problem.

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 reproducing Get-Help Get-EntraUser -Online and Get-Help Get-EntraGroup -Online. Trace how the Microsoft.Entra.Users and Microsoft.Entra.Groups cmdlets generate their online-help URIs, then verify that the browser opens the module-specific documentation path for each command.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.