Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Manual authentication for the Teams channel fails silently

(1) ShareShare
ReportReport
Posted on by 28

I'm trying to set up manual authentication for my PVA bot. We're only using this bot for teams, but I don't want to use 'teams only' authentication because I need access to the auth token.

 

To do this I've been following the following disjointed documents:

 

So far I've gotten authentication to work just fine in the bot test sidebar. However, when I attempt to log in via teams, the process silently fails.

 

login_topic.pngteams_output.png

As demonstrated here, the topic gets as far as the first message, but then stops without going down either the successful login branch or the 'there was a problem' branch.

 

I have:

  • Created an app registration
  • Added the web platform
  • Set https://token.botframework.com/.auth/web/redirect as the only redirect link
  • Enabled access tokens and ID tokens for implicit grant and hybrid flows
  • Set the application ID URL to api://*****.com.au/botid-905d****-****-****-****-********cee0
    • 905d****-****-****-****-********cee0 is the App ID from the Teams channel SSO section
  • Created a scope Test.Read with admin only consent
  • Added 5e3ce6c0-2b1f-4285-8d4b-75ee78787346 and 1fec8e78-bce4-4aaf-ab1b-5451cc387264 as valid client IDs
  • Granted User.Read, User.ReadBasic.All, and Site.Read.All delegated permissions to the app registration with admin consent
  • Set a client secret
  • Copied the client ID and secret to the PVA authentication and channel screen as below

 

pva_auth.pngteams_auth.png

 

Any suggestions on what to try or how to debug this would be most welcome.

  • HenryJammes Profile Picture
    on at
    Re: Manual authentication for the Teams channel fails silently

    Not sure both of you have the same issue, as @tdixon is using the 'classic' version of PVA and not the unified authoring canvas. @tdixon can you open a support request with support? 

    Get Help + Support in Power Platform - Power Platform | Microsoft Learn

  • brodie-sky Profile Picture
    52 on at
    Re: Manual authentication for the Teams channel fails silently

    I have this issue

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard