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

Fix null exception in Update-PnPTeamsUser #4068

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

jackpoz
Copy link
Contributor

@jackpoz jackpoz commented Jul 3, 2024

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #4056

What is in this Pull Request ?

Fix null dereference exception in Update-PnPTeamsUser happening right after a user is removed from a Team but still in the connected M365 group, for the few seconds that the 2 are out of sync.

This is the new behavior when removing a member manually from Teams client and running Update-PnPTeamsUser:
image

This is the old behavior:
image

jackpoz and others added 2 commits July 3, 2024 23:22
Fix null dereference exception in Update-PnPTeamsUser happening right after a user is removed from a Team but still in the connected M365 group, for the few seconds that the 2 are out of sync.
@gautamdsheth gautamdsheth merged commit 3d680a0 into pnp:dev Jul 10, 2024
3 checks passed
@gautamdsheth
Copy link
Collaborator

Thanks @jackpoz , have merged it , would make things more clearer for end users !

@jackpoz jackpoz deleted the fixes/UpdateTeamsUser-NullException branch August 10, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants