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 / Manual authentication ...
Copilot Studio
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.

Categories:
I have the same question (0)
  • brodie-sky Profile Picture
    52 on at

    I have this issue

  • HenryJammes Profile Picture
    Microsoft Employee on at

    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

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 567

#2
Haque Profile Picture

Haque 143

#2
chiaraalina Profile Picture

chiaraalina 143 Super User 2026 Season 1

Last 30 days Overall leaderboard