cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerCornwall
New Member

Redirect - 302 error by using GET method

Hi Experts,

 

I have a requirement to check the Dynamics 365 online web page status by using Microsoft Power Automate/Flow, I have configured the process and but I am facing the Redirect - 302 error by using GET method.

 

I have used *Authentication: AD OAuth

 

I am not sure how to fix this issue.

 

302.png

 

Capture.JPG

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @PowerCornwall 

 

What you trying to do via D365 page status? Can't you use D365 connector from flow. 

 

If you planning to access D365 via web api then you need to access the token first then execute the HTTP Web API request.

 

https://dynamicconsultantsgroup.com/blogs/dynamics-365-webapi-calls-and-flow/

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @PowerCornwall 

 

What you trying to do via D365 page status? Can't you use D365 connector from flow. 

 

If you planning to access D365 via web api then you need to access the token first then execute the HTTP Web API request.

 

https://dynamicconsultantsgroup.com/blogs/dynamics-365-webapi-calls-and-flow/

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
BCM12
Regular Visitor

Hi ABM,

 

I am trying to check the status of the CRM webpage and send the status = 200 inflow email to teams channel by using the GET method.

 

Not sure which of the following need to be picked and provide all the details

 

Auth.JPG

abm
Super User
Super User

Hi @PowerCornwall 

 

I would try this via Postman first. 

 

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/setup-p...

 

Once you got this working in Postman apply the similar technique in your HTTP Action step.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,776)