web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : fqRk38a0C6/HzA6OcxXWdJ
Copilot Studio - General
Unanswered

Copilot- Is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?

Like (0) ShareShare
ReportReport
Posted on 22 Apr 2024 10:20:45 by 4

I am creating a Copilot to provide report details and location . But I want to restrict the report details based on the title/rank of the users. So, is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?

Categories:
  • mariam_pv Profile Picture
    4 on 25 Apr 2024 at 12:11:24
    Re: Copilot- Is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?

    No, I am calling power automate using "basic actions"

  • adilei Profile Picture
    on 25 Apr 2024 at 12:08:28
    Re: Copilot- Is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?

    Are calling Power Automate as a "Plugin Action"?

  • mariam_pv Profile Picture
    4 on 25 Apr 2024 at 11:55:48
    Re: Copilot- Is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?
    I enabled "Authentication with Microsoft" in copilot. Then created a call action to power automate and added 365 connector. While testing in power automate, it is successfully executed and gave the title. But when I test in copilot, it is showing an error message " Error Message: The flow ‘Details’ (‘ba0f10c8-000-00000-000d3a0a2484’) failed to run with response code ‘BadRequest’, error code: NotSpecified. Error Code: FlowActionBadRequest Conversation"
     
    I am not able to get the title name inside the copilot. Could you please suggest solution to resolve this issue?
     
     
    mariam_pv_0-1714045605389.pngmariam_pv_1-1714045691181.png

     

    mariam_pv_2-1714045875593.pngmariam_pv_3-1714045931901.png

     

     
  • adilei Profile Picture
    on 22 Apr 2024 at 12:05:37
    Re: Copilot- Is it possible to retrieve the user title/rank from the copilot chatbot and use this to validate the access?

    Set up authentication, and then use a 365 connector or a call to Graph API to retrieve the details 

     

    https://learn.microsoft.com/en-us/microsoft-copilot-studio/configuration-end-user-authentication

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete