Skip to content

Commit bfeb3a9

Browse files
author
Markus Vilcinskas
committed
mon93
1 parent 814a288 commit bfeb3a9

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

articles/active-directory/reports-monitoring/concept-all-sign-ins.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -369,32 +369,12 @@ To access the new sign-in logs with non-interactive and application sign-ins:
369369

370370

371371

372-
## Return log data with Microsoft Graph
373372

374-
In addition to using the Azure portal, you can query sign-in logs using the Microsoft Graph API to return different types of sign-in information. To avoid potential performance issues, scope your query to just the data you care about.
375-
376-
The following example scopes the query by the number records, by a specific time period, and by type of sign-in event:
377-
378-
```msgraph-interactive
379-
GET https://graph.microsoft.com/beta/auditLogs/signIns?$top=100&$filter=createdDateTime ge 2020-09-10T06:00:00Z and createdDateTime le 2020-09-17T06:00:00Z and signInEventTypes/any(t: t eq 'nonInteractiveUser')
380-
```
381-
382-
The query parameters in the example provide the following results:
383-
384-
- The [$top](/graph/query-parameters#top-parameter) parameter returns the top 100 results.
385-
- The [$filter](/graph/query-parameters#filter-parameter) parameter limits the time frame for results to return and uses the signInEventTypes property to return only non-interactive user sign-ins.
386-
387-
The following values are available for filtering by different sign-in types:
388-
389-
- interactiveUser
390-
- nonInteractiveUser
391-
- servicePrincipal
392-
- managedIdentity
393373

394374
## Next steps
395375

396376
- [Basic info in the Azure AD sign-in logs](reference-basic-info-sign-in-logs.md)
397377

398378
- [How to download logs in Azure Active Directory](howto-download-logs.md)
399379

400-
- [Azure AD report latencies](reference-reports-latencies.md)
380+
- [How to access activity logs in Azure AD](howto-access-activity-logs.md)

articles/active-directory/reports-monitoring/concept-sign-ins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,4 @@ You can also access the Microsoft 365 activity logs programmatically by using th
320320

321321
- [How to download logs in Azure Active Directory](howto-download-logs.md)
322322

323-
- [Azure AD report latencies](reference-reports-latencies.md)
323+
- [How to access activity logs in Azure AD](howto-access-activity-logs.md)

0 commit comments

Comments
 (0)