I have a bot that can read an internal SharePoint. I chose the Manual Authentication on the bot security settings. When the bot is on the Copilot Studio test screen it asks for the user to login and shows the login button. However, if the bot is on MS Teams the bot still asks for the user to login but the button does not appear.
What should I do?
This is the same post as this one however that post is for PVA and this one is for Copilot Studio.
I think not being able to set up an app registration qualifies as an Azure issue. Try to raise a support ticket for this issue and let us know if SSO starts working.
.
You can raise a case with customer support. Otherwise I can confirm that the configuration in the guide works.
Sure and it is - because I've deleted the app that was using that URI... Can I get some inhands support? Or maybe solve this with a video call?
It's because app URI should be unique.
I had one registered app that used that value, I have deleted that registered app but I still can't give that value again in other apps.. So I assumed botid was a placeholder that I could change.
Here's the error when I try to use botid:
In "expose an API", your application URI should follow this pattern: api://botid-{teamsbotid}
This should also be reflected anywhere else applicable.
Yes it still asks me to login, but does not show the login button. It would be great to receive a message saying what is misconfigured or what error is occurring (where can I see that?).
I will go through the configuration details sometimes with a check list sometimes with screenshots.
Registered app:
API permissions:
✅ openid
✅ profile
✅ Files.Read.All
✅ Sites.Read.All
✅ Users.read
All with Admin consent.
Expose an API:
I have used this: api://da3cbf4b-c0ae9dc4-f38c-4b47-8a59-57938637b06a
and this is the App ID for teams (retrieved from within CoPilot Studio Channels): c0ae9dc4-f38c-4b47-8a59-57938637b06a
I have one read scope api://da3cbf4b-c0ae9dc4-f38c-4b47-8a59-57938637b06a/Read
Two authorized client apps:
5e3ce6c0-2b1f-4285-8d4b-75ee78787346
1fec8e78-bce4-4aaf-ab1b-5451cc387264
Configuration Teams Channel of CoPilot Studio:
Where ADD application's client ID was retrieved from the registered app overview tab.
@jpiabrantes what do you mean by "the problem remains"? no login button? this means something is misconfigured. You can share the configuration details here (registered app, copilot settings, etc.). Mask whatever is sensitive.
stampcoin
8
Artur Stepniak
5
Super User 2025 Season 1
Ekta Gupta
4