Skip to content
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

Bugfix in Sync-PnPSharePointUserProfilesFromAzureActiveDirectory #1896

Merged

Conversation

KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented May 23, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

When passing in a collection using -Users which has no items (Count = 0), it would throw a mysterious "Object reference not set to an instance of an object" exception. This has now been resolved. Also, when providing a mapping using -UserProfilePropertyMapping which would not result in a mapping file to be created, a similar exception would be thrown. These are now correctly handled and feedback is provided back.

@gautamdsheth gautamdsheth merged commit 18118d5 into pnp:dev May 24, 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.

2 participants