Description
Hi there! 👋
We’d like to request an important enhancement to the Teams JavaScript SDK.
Feature Request
Please include the tenantId in the result returned by the People Picker (people.PeoplePickerResult).
Reason
Our app relies on both the user's userId (ObjectId) and their tenantId. When a user is added via the People Picker, we currently retrieve the tenantId from the context of the signed-in user. This generally works well, but it fails in multi-tenant scenarios—such as when selecting a user from another tenant within the same company. In these cases, we end up with an incorrect tenantId, which can lead to issues in downstream logic.
Having the tenantId directly in the People Picker result would ensure accuracy and simplify multi-tenant handling.
Relevant Documentation
Thanks for considering this request!