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

302 Error when using https://graph.microsoft.com/v1.0/reports/getMailboxUsageDetail in Power Automate

Hi,

 

I am building a solution using Power Automate to get alerts when a mailbox size is getting full. When I configure a flow using https://graph.microsoft.com/v1.0/reports/getMailboxUsageDetail(period='D7') , I get the error below. When I execute the same URI using powershell or Visual studio code with Azure Thunder client, it works fine. It only fails when it is executed from Power Automate. By chance, any thougths how this can be fixed? Thanks!

 

Status code: 302

Error: Action HTTP failed

 

power automate mailbox size error 2.jpgpower automate mailbox size error.jpg

2 REPLIES 2
VictorIvanidze
Community Champion
Community Champion

Show your flow.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Thanks for your reply, Victor. Here is the flow and the error. The HTTP2 and HTTP3 are working fine because they are aiming to https://graph.microsoft.com/v1.0/users. But HTTP fails when it aims to https://graph.microsoft.com/v1.0/reports/getMailboxUsageDetail(period='D7').  It works fine when I aim to it from powershell or Thunderclient on Visual Studio Code.

 

 

Flow.jpgFlow error.jpg

Helpful resources

Announcements
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (3,046)