
Announcements
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!
Did you try the action from "Office 365 groups" connector to send this GRAPH request?