Open Prasad-MSFT opened 3 weeks ago
Hi Prasad-MSFT! 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
Hi @surbhigupta12, could you please help here to add this note in the documentation?
Type of issue
Missing information
Feedback
Cross-cloud communication via SDK is not allowed due to security reasons, therefore Teams Gallatin domain is not added to the validOrigins. If an app wants to work in Gallatin, it needs to explicitly specify the Gallatin domain when initializing the SDK in the Gallatin deployment of their apps (using the validMessageOrigins parameter): https://learn.microsoft.com/en-us/javascript/api/@microsoft/teams-js/app?view=msteams-client-js-latest#@microsoft-teams-js-app-initialize
That would look something like this:
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/using-teams-client-library?tabs=javascript%2Cmanifest-teams-toolkit
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/tabs/how-to/using-teams-client-library.md
Author
@erikadoyle
Document Id
4ae8187e-a7e4-4b5a-6f38-da6bfa30f2d2