Forum Discussion
How to share Content to Stage for external Users in Teams App?
Hello Vaibhav-MSFT,
Have you been able to check this topic yet?
Hello sdenninger ,
We are checking this with engineering team and will get back to you once we get any update.
- sdenningerMay 21, 2024Copper Contributor
Hello Vaibhav-MSFT,
Can you please tell me when I can expect an answer from the engineering team? One of our customers has just asked again whether it is possible to use our TeamsApp with external users.
- Dinesh-MSFTJul 26, 2024Former Employee
Hi sdenninger,
Sorry for the delay in the response. We check this issue internally with engineering team. They have fixed this issue. To help you better, please ensure the following steps are completed to support anonymous users seeing pre-pinned apps:- The app must have static tabs with groupChat scope.
- The app must be added as part of the setup policy in the admin center and applied to the user.
- The app must have supportsAnonymousGuestUsers in the app manifest under meetingExtensionDefinition.
- The tenant must allow anonymous user interaction with apps in meetings.
- sdenningerAug 22, 2024Copper Contributor
Hi Dinesh-MSFT ,
When you announced the information a month ago, I did a quick test and I was able to see the shared content as a user from another tenant and as an anonymous user without authentication after adding “supportsAnonymousGuestUsers” in “meetingExtensionDefinition” to the manifest. In addition, the 2nd bullet point (The app must be added as part of the setup policy in the admin center and applied to the user) and the 4th bullet point (The tenant must allow anonymous user interaction with apps in meetings.) were applied.
A retest now shows that it no longer works for users from external tenants and the old error screen “Can't show this window Something went wrong” appeared again. We tested users from 2 different external tenants.
As an anonymous user I can see the shared content.
Has something been adjusted here again? Or could it be due to a security policy that was set in the external tenants that this is no longer possible? Unfortunately, we do not have administrative access here.You describe that the app requires “static tabs with groupChat scope”.
Our app is built from ConfigurableTabs as there is a need to customize query parameters of the URL at runtime. (a dynamic channel ID is passed to the content shared via the API, which cannot be defined in the manifest)
If this is the reason, could you ask again whether the feature could also be implemented for ConfigurableTabs?
I ran the tests in the Teams client (new; Windows) and in the web app with the latest version in each case.
Thanks for your information,
Sebastian
- Vaibhav-MSFTMay 21, 2024Former Employee
Hello sdenninger,
We have again informed engineering team regarding this issue. We will let you know as soon as we get any update from them- USE_at_MentiNov 18, 2024Copper Contributor
Hello Vaibhav-MSFT , Dinesh-MSFT
Is it correct to assume that, as mentioned by sdenninger, by design the cross-tenant App Sharing is not supposed to work?
We are having a similar issue with our App where:
When sharing to stage from a business account works when:
* Participant users are under the same tenant in MacOS/Windows client,
* Participant users are under the same tenant in the web browser.
* Participant is an anonymous (not-logged in) on Web Browser.
However, it does not work when:
* User is logged in with either personal (on Free Accounts) or business emails on the Teams App.
We get the same error as showcased at the beginning of this thread, is there a way to debug/understand these kind of issues and the privileges required to support the app across Tenants?
Tested in Teams App (MacOS) Version 24244.507.3125.3475 (24244.507.3125.3475)
App:
@microsoft/teams-js: ^2.24.0
With:
supportsAnonymousGuestUsers: true
scopes: groupChat