Want to get information about non-interactive signins using graph api

Harry Potter 40 Reputation points
2023-06-07T03:06:56.45+00:00

Currently i am using graph api auditLogs/signIns endpoint of Microsoft graph api to get signin information, https://learn.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-1.0&tabs=http this is the link for that but it only returns interactive signins it does not provide non-interactive signin details so how can i get information of non-interactive signins?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. TH-4749-MSFT 3,315 Reputation points
    2023-06-07T19:38:12.1166667+00:00

    Hello Harry Potter,

    Thanks for reaching out. Graph API v1.0 auditLogs/signIns endpoint only returns interactive login. Per article https://learn.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-1.0&tabs=http

    "Retrieve the Azure AD user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs."

    However the beta version of the auditLogs/signIns endpoint does return non-interactive logins as well. Please refer to article https://learn.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-beta&tabs=http for more information and examples to retrieve non-interactive sign-ins. Note that APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    Thanks.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.