cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sky_Store_Rob
Regular Visitor

Use Office 365 credentials with Power Virtual Agents

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.

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Sky_Store_Rob ,

 

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

 

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

2 REPLIES 2
renatoromao
Super User
Super User

Hi @Sky_Store_Rob ,

 

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

 

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

Hi @Sky_Store_Rob ,

 

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

Helpful resources

Announcements
V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors
Users online (2,804)