web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / SSO integration in Teams
Copilot Studio
Unanswered

SSO integration in Teams

(0) ShareShare
ReportReport
Posted on by 26

Hi all,

as stated here "SSO is only supported on the live website publication channel."

Does exist a roadmap for the SSO integration in the other channels, especially in Teams?

For when we can expect new releases?

 

Thanks,

Alessandro.

 

Categories:
I have the same question (0)
  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Galasso ,

     

    We don't have dates for this release, but the Microsoft team is working on it to available as soon as possible.

    You can follow the new releases here: https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-virtual-agents/planned-features

  • Galasso Profile Picture
    26 on at

    Thanks for the answer Renato. I was missing the plan page.

     

  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Galasso 

     

    Now it's available to use SSO with Microsoft Teams in Public You can now configure your bots to automatically use Teams’ authentication, so their end users don’t have to sign-in when chatting with a PVA bot in the Teams channel, streamlining the user’s experience.

    Power Virtual Agents support for Teams channel Single Sign-on is available in Public Preview | Microsoft Power Virtual Agents

  • Community Power Platform Member Profile Picture
    on at

    I see that on 01/12/2021 there has been an announcement that now Teams SSO is available without having the user to sign in again. I do have a question regarding this - If I want the bot to be available in both web and teams channel then I believe I need to still setup manual "Generic oauth2" and I cannot use "teams only". If this is right then I see that it is prompting for login in teams every time I restart Teams. Is there any other change needed in AAD app registration along with this? I certainly do not want the login window to show up in teams

  • Community Power Platform Member Profile Picture
    on at

    I was able to get this addressed with the generic oauth and updating the token exchange URI. I am now using the same oauth app to connect to sharepoint online webpage as well as teams integration. It works seamlessly.

     

  • nk1ng Profile Picture
    71 on at

    So you are don't getting that pop up anymore, @Anonymous?  The OTP from https://token.botframework.com/api/oauth/signin?signin=blahblahblahcode_challenge?

    nk1ng_0-1632400091922.png

    That is correct?  I don't need or want that OTP to show up ever lol.  Trying to follow this tutorial but I am struggling:  Configure single sign-on for the Power Virtual Agents app in Teams - Power Virtual Agents | Microsoft Docs?  Let me know!

    -n

  • Community Power Platform Member Profile Picture
    on at

    That is right @nk1ng . if the request for the bot is authenticated properly using MSAL, the bot should bot show this prompt. This is due to the fact that bot does not recognize the user. 

     

    Read through the fix that I shared here - Solved: Re: How to configure SSO on a intranet page (Share... - Power Platform Community (microsoft.com)

  • nk1ng Profile Picture
    71 on at

    So you have to publish a custom canvas on the same network? Not using the https://token.botframework.com/api/oauth/ whatever? I need to fix this if that is true, @Anonymous?

    nk1ng_0-1632401515731.png

     

  • nk1ng Profile Picture
    71 on at

    @Anonymous, I mean you have to publish an index.html with MSAL.js somewhere for SSO (in Teams)?  Do you need to have that externally and access to the internet (and same domain that is hosting the bot)?  So prolly if you want to use SSO on our phones you have do, huh?  Because, we don't have a custom HTML websites set up for this yet, just using the default endpoints trying to get everything up and running but the OTP will show up until we have a custom logon card?  Still trying to understand everything..  

    nk1ng_0-1632413034761.png

    nk1ng_1-1632413312475.png

     

    Thank you for your help guys, also excuse my English, I had a stroke awhile back and my grammar is still struggling.  Let me know if you need any more info on my setup :).


  • Community Power Platform Member Profile Picture
    on at

    The page where your bot is going to be hosted need to be registered in the oauth so that MSAL can redirect back to this page. @nk1ng I got all your questions. Hope you get better soon

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard