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 / 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
    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

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