Calling an Azure AD secured REST API from PowerApps using Flow

Scenario:
”I am building a canvas PowerApp.  The connector I am using doesn’t do exactly what I want it to do.  However, I know the connector uses a REST API secured by Azure AD.  Can I call the REST API directly?”

The answer, as of this post, is that you cannot call the REST API directly from a canvas PowerApp (as far as I know).  However, two new features were recently introduced that enables some really powerful integration between PowerApps and Flow:

https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/ (the return data part)
https://flow.microsoft.com/en-us/blog/howto-upload-return-file/ (the return data tables part)

When you combine these two features, it opens a whole new world of repeatable logic execution from PowerApps.  If you drop an HTTP with Azure AD connector in between, you now have full control over your REST API call.  Here’s a quick walkthrough of all this in action:

@devkeydet

Leave a comment