1
votes

I have set up a bot with Microsoft Bot Framework and added SSO for Teams according to the following manual:

https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/auth-aad-sso-bots

The OAuth App registration has the Api permissions email, offline_access, openid, profile, User.Read and they are Admin Granted. The Teams App is installed in the same tenant as the bot and the OAuth app registration.

However no matter what I try the user in Teams keeps getting the message for additional permissions: enter image description here

When clicking Continue the login is successful, however after signing out and logging in again, the exact same message appears.

  1. Why is the message there after the api permissions have all been granted?
  2. If it says only one time required, why does it keep popping up?
1
Can you share some of your code, how you're checking for the existence of the token? There might be something wrong in there, so it's not re-retrieving the token properly in later attempts - Hilton Giesenow

1 Answers

0
votes

Turns out I was missing to update the "accessTokenAcceptedVersion" to 2 in the manifest. enter image description here