Skip to main content

Notifications

Community site session details
Power Apps - Power Apps Governance and Administ...
Answered

Copilot chat bot security setup

Like (1) ShareShare
ReportReport
Posted on 11 Jul 2024 16:03:49 by

Hello everyone, 

We are at the early phases of the development of our chat bot and we are trying to figure out how to best tackle the authentication bit. 

Our bot will utimately be accessed through a teams channel but we for the testing phases we would like that only our dev team and a handful of testers access the bot. We thought about using the demonstration link for this purpose. Using the option to authenticate with Microsoft will not work as this is outside Teams and Power Apps. We thought about switching to authenticate manually which requires some configuration on Azure Portal. 

Here's what we have done so far: 

1. We have added an app registration on Azure Portal to generate a client ID and a client secret. 

Untitled design.jpg

We made sure to add a redirect URL https://token.botframework.com/.auth/web/redirect to redirect after a successful login. 

image (1).png

 

2. We setup our chat bot authentication to point to the credentials from step 1

Untitled design (1).jpg

When I access the demo website, it prompts me to login as shown in screenshot below 

 

fatenyahiaoui_m_0-1720713497112.png

fatenyahiaoui_m_1-1720713521965.png

It clearly asks for a tenant admin approval. 

Now my question is I want to have a list of clear ask for our tenant admin so I can properly test out my bot and share it so other testers can test it as well. 

Thanks

Faten

  • Verified answer
    fatenyahiaoui_m Profile Picture
    on 12 Jul 2024 at 13:34:22
    Re: Copilot chat bot security setup

    @Velegandla  thank you for sharing the copilot studio community link. For the documentation you shared , that is the link I have followed but still struggling to get it to show. 

    I will resolve this ticket. 

    Thanks

    Faten

  • Verified answer
    velegandla Profile Picture
    202 Super User 2025 Season 1 on 11 Jul 2024 at 23:07:37
    Re: Copilot chat bot security setup

    @fatenyahiaoui_m 

     

    You may post the question in the Copilot Studio Admin forum. 

    https://communitypowerplatformprod.powerappsportals.com/forums/thread/?groupid=db8f53c2-767d-47d6-a1ae-fe4c828a6553&discussionforumid=f55a6a5f-d441-4f0a-b2fa-cd44f7554e1e 

     

    Please see the list of prerequisites here for embedding the Copilot in Power Apps.

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/add-ai-chatbot#prerequisites 

     

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

  • fatenyahiaoui_m Profile Picture
    on 11 Jul 2024 at 18:06:44
    Re: Copilot chat bot security setup

    Another question relative to this as well. 

    Looking at the documentation it seems possible to add chatbot control to a model / canvas app. I can not seem to find this control anywhere in my environment even though it seems to have all preview functionality enabled. Any clues?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard

Featured topics

Loading started
Loading started