Forum Discussion
ThomasBirk
Mar 08, 2021Copper Contributor
Permissions to extract SignInActivity from MS Graph
Hi, I'm trying to extract SignInActivity from MS Graph but am receiving an error. Query: https://graph.microsoft.com/beta/users?$select=UserType,UserPrincipalName,DisplayName,SignInActivity ...
damyou06
Aug 21, 2021Brass Contributor
SignInActivity is not working even though we have Azure Premium 2 in our tenant. I have "AuditLog.Read.All" and uisng application permissions https://graph.microsoft.com/v1.0/users?$select=displayName,userPrincipalName,signInActivity
What do you think i am missing
Thijs Lecomte
Aug 26, 2021Bronze Contributor
You need to add the Directory.Read.All to the app as well
- damyou06Sep 01, 2021Brass Contributorcorrect