Description
Summary
We’re observing inconsistent behavior in the People Picker:
The email address of selected users is sometimes missing from the returned user object.
This behavior is not consistent — sometimes the email is present, other times it is not.
In many cases, reopening the People Picker causes the email to appear for the same user.
Reproduction Steps
- Open the People Picker and select a user.
- Inspect the returned user object → the email field is sometimes missing.
- Close the People Picker.
- Reopen it and select the same user again → the email field may now be present.
Impact
This causes unreliable behavior in apps that depend on the email field (e.g. for identity, messaging, or lookups).
Developers may assume that email is always returned and write logic accordingly — this leads to breakages or silent failures.
The issue undermines the reliability and consistency of the People Picker component.
Expected Behavior
The People Picker should always return the email address of the selected user if available.
There should be no need to reopen the picker to get complete data.
Urgency
This is a core data integrity issue:
Email addresses are commonly required for identity and communication-related logic.
Inconsistent behavior here leads to user confusion and broken functionality in production apps.
🔧 Please investigate and resolve this as a priority.