Skip to content

Feature Request: Include tenantId in TeamsJS People Picker response (multi tenant support) #2839

Open
@jker-org

Description

@jker-org

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions