OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
426 stars 194 forks source link

Stage view in personal tab with sideloaded app #2268

Closed robhavlicek closed 5 months ago

robhavlicek commented 5 months ago

Hi, I have a problem with the stage view in the personal tab. If the app is sideloaded, the stage view does not work. By trial and error I have come to the conclusion that it is due to a different appId. When sideloaded, the appId (from manifest) is shown as externalId and a different Id is used for the app.

If I use this Id, stage view works as expected. Is this the expected behavior? How can I find out this Id from the context of Teams? Graph api, for this purpose, requires permissions that I don't want to ask our users.

image_2024-04-12_110624498

image_2024-04-12_110540166

microsoft-github-policy-service[bot] commented 5 months ago

Hi robhavlicek! 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

Prasad-MSFT commented 5 months ago

@robhavlicek - According to this documentation, for side-loaded apps, we should use Manifest ID.

Apps submitted to org catalog: Org catalog ID Apps submitted to Teams app store: Store ID

robhavlicek commented 5 months ago

Oh, I see. I've read this documentation and there's no mention of it. So I'll modify my backend to work with all IDs, since we're using one instance of the application for multiple deployments. Thank you,

microsoft-github-policy-service[bot] commented 5 months ago

Tell us about your experience!

Hi robhavlicek! We have closed this issue in our system, but we would love to hear your feedback. To let us know how we did, simply use one of the following emoji icons: :thumbsup: for resolved, :thumbsdown: for unresolved, or :heart: for a great experience on this message. Please use the link for more detailed feedback.

Best regards, Teams Platform

AE-MS commented 4 months ago

Oh, I see. I've read this documentation and there's no mention of it. So I'll modify my backend to work with all IDs, since we're using one instance of the application for multiple deployments. Thank you,

FYI I filed a doc bug to clarify the documentation to which you linked: https://github.com/MicrosoftDocs/msteams-docs/issues/10762