Skip to content

Added IgnoreDefaultProperties parameter to Get-PnPAzureADUser #1575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented Jan 28, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Mentioned and suggested in #649 (comment)

What is in this Pull Request ?

Added IgnoreDefaultProperties parameter to Get-PnPAzureADUser to allow for the default properties not to be retrieved but instead just the ones you specify using Select. This allows for optimization of the query. It does not work when using the Delta parameter as this has no default properties by default already.

This PR requires PnP Framework PR pnp/pnpframework#590 to be merged first.

@KoenZomers KoenZomers added the pending PnP Framework merge Waiting for a PR in PnP Framework to be merged first label Jan 28, 2022
@KoenZomers KoenZomers removed the pending PnP Framework merge Waiting for a PR in PnP Framework to be merged first label Feb 11, 2022
@KoenZomers KoenZomers merged commit 41ef901 into pnp:dev Feb 14, 2022
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.

1 participant