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
Resident Rockstar
Resident Rockstar

Show your flow.



Freelance Power Automate developer. $50 per hour.

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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Kudoed Authors
Users online (1,458)