Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Login Button Not Showing on MS Teams

(2) ShareShare
ReportReport
Posted on by 29

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.

Categories:
  • Arun India Profile Picture
    4 on at
    Login Button Not Showing on MS Teams
    Configuration is proper because the login button appears in Copilot Studio but not in ms teams .
  • adilei Profile Picture
    on at
    Re: Login Button Not Showing on MS Teams

    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.

  • jpiabrantes Profile Picture
    29 on at
    Re: Login Button Not Showing on MS Teams

    .

  • adilei Profile Picture
    on at
    Re: Login Button Not Showing on MS Teams

    You can raise a case with customer support. Otherwise I can confirm that the configuration in the guide works.

  • jpiabrantes Profile Picture
    29 on at
    Re: Login Button Not Showing on MS Teams

    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?

  • adilei Profile Picture
    on at
    Re: Login Button Not Showing on MS Teams

    It's because app URI should be unique. 

  • jpiabrantes Profile Picture
    29 on at
    Re: Login Button Not Showing on MS Teams

    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:

    Screenshot 2024-01-19 at 11.50.46.png

  • adilei Profile Picture
    on at
    Re: Login Button Not Showing on MS Teams

    In "expose an API", your application URI should follow this pattern: api://botid-{teamsbotid}

    This should also be reflected anywhere else applicable.

     

     
     

    enter-app-id-uri

  • jpiabrantes Profile Picture
    29 on at
    Re: Login Button Not Showing on MS Teams

    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:

    Screenshot 2024-01-19 at 11.30.57.png

    Where ADD application's client ID was retrieved from the registered app overview tab.

  • adilei Profile Picture
    on at
    Re: Login Button Not Showing on MS Teams

    @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.

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
stampcoin Profile Picture

stampcoin 8

#2
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#3
Ekta Gupta Profile Picture

Ekta Gupta 4

Overall leaderboard