cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

[D365FO - Power Automate] error 302 - download file with http get request

Hi all,

i have created a flow to download with an http get request (with oauth2 authentication) the document attchament from a purchase requisition.

To do this i pass from d365fo to Microsoft power automate the public url of the attachment:

 

https://urld365/filemanagement/fileGuiId?access_token=access_token.

 

This works correctly in my test enviroment but last week Microsoft has updated my sandbox and production enviroment to self-service-deployment and from that moment this task no longer works. (I have an HTTP error 302).

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/infrastructure-stack

 

I think the problem is that Power automate can't solve the redirect from "login.windows.net" to "login.microsoftonline.com" to do the sign-in but i'm not sure.

Anyone have this problem?

 

The error is this:

 

Cattura.PNG

 

Thanks in advance.

0 REPLIES 0

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (14,035)