microsoft-graph-toolkit
microsoft-graph-toolkit copied to clipboard
[BUG] PeoplePicker crashes when defaultSelectedGroupIds is not valid
Describe the bug If you add groupids that does not exist to defaultSelectedGroupIds the picker crashes.
To Reproduce Steps to reproduce the behavior:
- Add a guid that does not exist as defaultSelectedGroupIds
Expected behavior The picker should work, either by dropping the group id from the picker or tag it as deleted or somehitng.
Screenshots

Environment (please complete the following information):
- OS: win10
- Browser Chrome 91.0.4472.77
- Framework react
- Context SharePoint
- Version 2.2.0
- Provider { Providers, SharePointProvider } from '@microsoft/mgt';
Hello phettz, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌