Skip to content

Add -UseBeta parameter to Get-PnPEntraIDUser cmdlet and update documentation#5290

Merged
gautamdsheth merged 2 commits intodevfrom
fix/3548
Apr 15, 2026
Merged

Add -UseBeta parameter to Get-PnPEntraIDUser cmdlet and update documentation#5290
gautamdsheth merged 2 commits intodevfrom
fix/3548

Conversation

@gautamdsheth
Copy link
Copy Markdown
Collaborator

Fix entraid user issue

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #3548

What is in this Pull Request ?

Fixes to the cmdlet

Copilot AI review requested due to automatic review settings April 15, 2026 19:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Get-PnPEntraIDUser to better align with Microsoft Graph permission metadata and to make the -UseBeta switch available across more parameter sets, with corresponding documentation updates.

Changes:

  • Expanded Graph permission metadata on Get-PnPEntraIDUser to include Directory-level scopes in addition to User scopes.
  • Exposed -UseBeta across parameter sets and ensured -Select is honored for GUID identity lookups.
  • Updated cmdlet documentation and added a changelog entry for the fix.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/Commands/EntraID/GetEntraIDUser.cs Updates permission metadata attributes and aligns parameter handling (-UseBeta availability and -Select for GUID lookups).
documentation/Get-PnPEntraIDUser.md Reflects -UseBeta in syntax and documents the parameter.
CHANGELOG.md Adds a “Fixed” entry describing the behavior changes.

Comment thread CHANGELOG.md Outdated
Comment thread documentation/Get-PnPEntraIDUser.md Outdated
Comment thread documentation/Get-PnPEntraIDUser.md Outdated
…ensure consistent exposure of -UseBeta parameter across all parameter sets
@gautamdsheth gautamdsheth merged commit 6d338ca into dev Apr 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Access Denied using cmdlet that uses MG with ClientID permissions assigned using Roles

2 participants