Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DirectApiAuthorizationRequired with Microsoft Flow calling Microsoft Flow

I'm attempting to incorporate subroutines in Microsoft Flow, which seems to be done by creating a flow called via HTTP by another Flow per posts online. Creating a simple flow that I can call from Postman works great. The problem occurs when I call it from my main flow.

It wanted an API version, so I set the query api-version to 2016-10-01

Now, when it runs, it gives the error

    "code": "DirectApiAuthorizationRequired",
    "message": "The request must be authenticated only by Shared Access scheme."

Again, the called flow works fine from Postman. It's when called from Flow that it gives the error. All the steps I see online are for Logic App or other tools. Suggestions?

like image 530
coopermj Avatar asked Jun 15 '26 16:06

coopermj


1 Answers

I discovered that when I was recopying the URL, that I had lost the authentication information has it had been moved to Queries in my REST client, so the code was not actually authenticating. So, if anyone else has this issue, copy the URL from the original source!

like image 62
coopermj Avatar answered Jun 18 '26 01:06

coopermj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!