What I’m attempting to do is communicate via the HTTP “Make A Request” module with Microsoft Graph API—specifically the mail endpoint.
But if you know an easier way…
Seriously if you do please tell me.
And I hear you saying “Why not just use the Microsoft 365 Email Module’s Make an API Call?”
Fantastic question!
The reason is, whoever made the Microsoft 365 Email app neglected to follow Make.com documentation and allow for custom scopes to be requested when you create a connection.
Automation breaking in my case as I need access to ALL users and the app is only scoped for the signed in user
Back to my question…
I don’t have a problem creating a token and passing that to another step that needs it in the Header.
However…
When I run that second HTTP “Make A Request” it just sits and spins
I would wait to see how long but I’m not that patient
I receive no error or response.
I’ve uploaded three photos showing my inputs into the module and the dev tool to demonstrate that it sent two requests after sitting and spinning for a bit of time with no response.
It should be noted that other end points like “/users” will return my M365 users no problem.
But this one will not fall in line.
Let me know if you have any experience with this! Looking forward to getting past this hurdle lol