MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
288 stars 511 forks source link

Conflicts with Advice for SSO for Bot/Static Web Tabs #3295

Closed GauravES closed 3 years ago

GauravES commented 3 years ago

[Enter feedback here]

To use these permissions, you must add a webApplicationInfo key to your app manifest with the following values:

We have an existing bot with a static web tab that uses SSO. Microsoft instructions for using SSO recommends creating a dedicated "identity" app with the required permissions to interact with the Graph, rather than using the Bot's own app ID to interact with the Graph. See advice in https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=aadv2%2Ccsharp

This requires the manifest to have a webApplicationInfo section which includes the app ID and resource of the identity app.

However the Self Install instructions require the bot manifest to have a webApplicationInfo section, but this time the app id should be the bot's own app ID.

To my knowledge, the manifest can have a single webApplicationInfo section. How do we specify two apps? One for Identity/SSO and another just for Self Install.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ghost commented 3 years ago

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

Jagadeesh-MSFT commented 3 years ago

Hi @GauravES, we are working on it , will update you soon.

Jagadeesh-MSFT commented 3 years ago

Hi @GauravES, If you are building an app with a bot and a tab, enter the Application ID URI as api://fully-qualified-domain-name.com/botid-{YourBotId}.

ghost commented 3 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.