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

microsoftTeams.people.selectPeople search service sometimes not returning an email attribute for users #2696

Open
LeonYasoon opened this issue Jan 23, 2025 · 2 comments

Comments

@LeonYasoon
Copy link

Continuation of #1526

When using the microsoftTeams.people.selectPeople chooser in a MS Teams App context like this:
Image

Unfortunately, when a user object returned by the searchV2 endpoint used by the peoplePicker doesn't have an email attribute, the people picker returns that user with an empty string as it's email as you can see here:
Search for users in peoplePicker and observe searchV2 response:
Image

Confirm peoplePicker selection and console.log the return result.
Image

Is the email not being in the searchV2 response a bug or is this something users or Azure AD admins can configure?
Would it be possible for the peoplePicker to always return email and UPN so clients can handle these cases at their will?

Copy link
Contributor

Hi LeonYasoon! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Nivedipa-MSFT
Copy link

Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.

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

No branches or pull requests

2 participants