- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Retrieve User Details in Virtual agent using flows
Hi Everyone,
I am trying to get user details using graph APIs "https://graph.microsoft.com/v1.0/me" in power automate. However, when I try to do so I am getting this error:
Retrieve logged in user Token using Virtual agent
Error while getting details in flow
Permissions in App registration
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Ramandeep_Singh ,
Can you take some pictures inside your Http request method inside Power Automate, please? (edit mode to see the code)
Can you confirm which variable do you are sending to Power automate like parameter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @renatoromao ,
Thanks for the quick replay. Following are screenshot you asked for:
I am using an trial instance for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi all,
I was able to resolve the issues and it might help others while facing the same issue.
The issue was that I am using "https://graph.microsoft.com/v1.0/me" API and in virtual agent authentication "Scope" I was not using the correct URL.
Following is the screenshot when using graph APIs:
Thanks and keep helping each other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content