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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Use Office 365 credent...
Copilot Studio
Answered

Use Office 365 credentials with Power Virtual Agents

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I've already got a successful Flow working for this process but want to integrate this process into a Virtual Agent so I can expand this. presently, whenever a Form is submitted, the flow proceeds to generate an email based on their Office365 account. Is there anyway that I can get this same process implemented using the Virtual Agent without having to ask them to manually type their details (as we all know how good us humans are). Ideally I'd like the system to detect it from their O365 account credentials as Microsoft Forms does.

I have the same question (0)
  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Anonymous ,

     

    Yes, sure!

    You can use the Authentication on the Virtual Agent: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

     

    Call the Power Automate using the AuthToken: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication#authtoken-variable

     

    Call the Microsoft Graph using your Power Automate workflow: https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http

     

    After your Microsoft Graph response to your Power Automate, you can respond to Virtual Agent and you can use the user details.

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Anonymous ,

     

    Did my answer solve your problem?

    If yes, please accept this reply as the solution.

     

    ---

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 447

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 101 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 65 Super User 2026 Season 1

Last 30 days Overall leaderboard