web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

HTTP request failure

(0) ShareShare
ReportReport
Posted on by 2,407 Super User 2024 Season 1

I'm trying to retrieve the Exchange email report from the Graph. I'm clearly doing something wrong. I created an app in Azure and generated a "Secret" when I put that in the Flow, it says it is invalid. I have tried both the Secret ID an d the Secret Value, as Flow does not tell you which one it wants. Neither worked. I have consented to both the AnalyticRead permission and the Report.All permission. 

Any idea what value I have wrong? Is there a better way to do this? My manager wants this report (heavily edited) every week.

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @BrianS 

     

    Are you using the Graph API?

     

    Thanks

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    I thought so - I'm using the HTTP with the Green Globe icon with a GET to graph.microsoft.com etc

     

  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @BrianS 

     

    Could you post a screenshot of your flow?

     

    Thanks

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    Here you goGraph_01.png

  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @BrianS 

     

    Thanks for your reply. I can see you are using the GRAPH API.

     

    There is new connector in flow which can directly access the GRAPH API. You don't need any secret key and azure portal registrations. 

     

    image.png

     

    All you need to do is select the Office 365 Groups connector and action step called Send an HTTP request. The connection is similar like any other connector. Just the username and password. 

     

    Try the API via this connector and see if that works or not. Please let me know.

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    This did not work either, but I received a different error

    "URI path is not a valid Graph endpoint"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard