Skip to main content

Notifications

Announcements

No record found.

Publish & Channel Management
Unanswered

Problems with SSO in teams and on the WEB

Posted on by 327

Hi folks,
I configured the SSO in PVA but when accessing the chatbot both in teams and in an online page, the user is directed to a new page where he needs to copy a token and inform it in the body of the BOT, I would like the SSO to be imperceptible to the user, both in Teams and in the page.

 

  • DiegoPeres Profile Picture
    DiegoPeres 327 on at
    Re: Problems with SSO in teams and on the WEB

    Hello. @tavila I will try to do the configuration that you informed. Tks

  • DiegoPeres Profile Picture
    DiegoPeres 327 on at
    Re: Problems with SSO in teams and on the WEB

    Hello, @micchow  Yes I did the setup exactly as in the documentation but it still asks for confirmation with a token code.

    About the Web, I am using the custom code, that MS provides in the configuration page.

  • Re: Problems with SSO in teams and on the WEB

    Hi,

     

    Check that even you have followed the references to configure and enable SSO on your bot, when you open your custom page that hosts your bot, you can see log in button on top right corner:

     

    tavila_0-1659727100019.png

     

    On given sample, that button would call onSignInClick function.

     

    So you can try editing your custom code to call that function on onLoad event, for example:

     

    tavila_1-1659727306756.png

     

    After that, when you just open custom page, it will pop up the log in (make sure to allow your page on pop up blocker) and then make SSO:

     

    tavila_2-1659727399432.png

     

     

     

  • micchow Profile Picture
    micchow on at
    Re: Problems with SSO in teams and on the WEB

    Hi @DiegoPeres ,

     

    Did you follow the steps listed here to set up SSO for web and Teams?

    https://docs.microsoft.com/en-us/power-virtual-agents/configure-sso

    https://docs.microsoft.com/en-us/power-virtual-agents/configure-sso-teams

     

    Please note that SSO for web only works for custom canvas and not the out of the box iFrame provided in PVA. Teams SSO also requires extra configurations in the app manifest to take effect.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,954

#3
Expiscornovus Profile Picture

Expiscornovus 1,648

Featured topics