cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Can I access Microsoft Graph API via Flow HTTP connector with user credentials?

I'd like to be able to pull data back from the Graph API using Microsoft Flow. Specifically, there are attributes in Planner that I want to grab for reporting that aren't available via the Planner connector.

 

The HTTP connector seems specifically designed for OAUTH application credentialling. I'd like to be able to have the Flow operate on my behalf to GET the data I need.

 

Is this possible, or is the application model the only approach available. 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Can I access Microsoft Graph API via Flow HTTP connector with user credentials?

Hi @StevenWade,

 

Do you want to access the Microsoft Graph API via the HTTP connector within Microsoft Flow?

 

Please check and see if the following article would help in your scenario:

https://johnliu.net/blog/2018/1/setting-up-msgraph-webhook-with-http-action-in-microsoftflow

 

https://sergeluca.wordpress.com/2017/09/22/extend-microsoft-flow-with-the-microsoft-graph-and-0-code...

 

In addition, please also check if the following thread would help you access Microsoft Graph with HTTP actions:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-can-I-use-Microsoft-Graph-API-by-HTT...

 

More details about the HTTP action within Microsoft Flow, please check the following article:

HTTP action

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate II
Advocate II

Re: Can I access Microsoft Graph API via Flow HTTP connector with user credentials?

Thanks for sharing these. I came across them previously when trying to implement a solution, but it's good to have them all in one place for anyone else with questions.

 

Here's my challenge: I've registered an app, and I can use the http connector in flow to return the token. That part works fine. 

 

But, in order to access the MS Graph from the http connector you either need an admin to grant application permissions (which are domain scoped) OR you need to delegate your user permissions to the app.

 

My admins are justifably concerned about granting domain-scoped permissions to user-generated apps because they've essentially created a backdoor for me to use the permission (e.g., sites.read.all) across the entire domain.

 

Meanwhile, the Flow http connector (and Flow in general) doesn't provide a mechanism for me to agree to delegate my user permissions in the context of an operating Flow. PowerApps does this by displaying the "Accept" screen the first time an app is loaded, but I haven't found an equivalent solution for Flow.

 

Thoughts?

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (10,914)