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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need help with Microso...
Power Automate
Unanswered

Need help with Microsoft Graph API in Power Automate

(0) ShareShare
ReportReport
Posted on by

Hi everyone, Could you please help me with this?

I'm trying to fetch the last sign-in datetime of users using the Microsoft Graph API, which I'm calling in Power Automate. The API works perfectly fine and returns results when I test it in Graph Explorer. However, when I use the same URL in Power Automate's "Invoke HTTP Request" action for Azure AD, I get an error saying that the principal user doesn't have the necessary permissions. Strangely enough, the same user is able to view the data using Graph Explorer. I'd really appreciate any help or suggestions you might have regarding this issue. Thanks in advance!

aluzaja178_0-1689158411313.png

aluzaja178_1-1689158516491.png

 

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    Did you try the action from "Office 365 groups" connector to send this GRAPH request?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard