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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Disable validation cod...
Copilot Studio
Suggested Answer

Disable validation code with SSO authentication

(1) ShareShare
ReportReport
Posted on by 4

Hi, I've followed the instructions here for configuring SSO with my chatbot: https://docs.microsoft.com/en-us/power-virtual-agents/configure-sso

 

What I am finding is that the first time a new user comes to the chatbot, they have to go through a process of loading a new tab which creates a validation code, and copying/pasting it back into the chat window (see attached screenshots). Only then are they logged. Any subsequent visit to the chatbot will use the SSO login, without the need for this validation code.

 

I really want to remove this extra validation code step to make using the chatbot much more seemless for new users, but I can't see how. Does anyone know if this is possible?

Chatbot1.pngChatbot2.pngChatbot3.png

Categories:
I have the same question (0)
  • nickwjm Profile Picture
    8 on at

    I am having the same problem. Did you ever find a resolution to this?

     

    thanks

  • nickwjm Profile Picture
    8 on at

    Despite following the article I dont think SSO was configured properly. I used the code in the GitHub below which is suggested at the bottom of the article and it worked. Looking at the github code it adds quite a bit that isn't in the original help article which isn't very helpful..  Hope it helps if your still stuck. 

     

    PowerVirtualAgentsSamples/index.html at master · microsoft/PowerVirtualAgentsSamples · GitHub

  • nickwjm Profile Picture
    8 on at

    Scratch that.. still have problems.. seems to be working for me (no validation prompt) but not others.. back to drawing board. 

  • pcranston Profile Picture
    4 on at

    Afraid not - it's been sidelined as a priority for us for the time being. If you make any progress please do share. Thanks!

  • Krutt Profile Picture
    12 on at

    Any progress with this issue?

  • HenryJammes Profile Picture
    Microsoft Employee on at

    Can you be specific about the issue? While SSO isn't supported for SharePoint, it is for custom websites: Configure single sign-on with Azure Active Directory - Power Virtual Agents | Microsoft Learn

  • Krutt Profile Picture
    12 on at

    I'll try. The problem is the same as the beginning of this post. The link that you hvae provided is used. (I am using the new unified canvas version). The validation code step is the same. I want to skip/disable this step. Is that possible? 

  • HenryJammes Profile Picture
    Microsoft Employee on at

    @Krutt if you want to remove the validation code step, are you saying you're looking for native single-sign on (SSO, i.e. no authentication step or window for the user) in the Microsoft Teams channel?

     

    SSO isn't supported today for Microsoft Teams, but if you want this, that's a feature request, and I'd love if you could share the details here: https://aka.ms/PVAFeatureRequest 

     

    Or are you looking to remove authentication completely? 

  • Krutt Profile Picture
    12 on at

    The bot is not published in Teams. We are publishing the bot on an external website inside the organization where the user is already logged in on a company computer. The website use SSO to verifiy the user. So i would like to skip or disable the sted with the verification code. Hope this made sense

  • HenryJammes Profile Picture
    Microsoft Employee on at

    Thanks - if the user is already logged in using AAD on the website, then this should already be supported: Configure single sign-on with Azure Active Directory - Power Virtual Agents | Microsoft Learn

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 601

#2
chiaraalina Profile Picture

chiaraalina 137 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 133

Last 30 days Overall leaderboard