Skip to content

Commit aef3afd

Browse files
committed
latency-additions
1 parent 23b0f71 commit aef3afd

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

articles/active-directory/reports-monitoring/howto-manage-inactive-user-accounts.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The challenge of this method is to define what *for a while* means for your envi
2828

2929
The last successful sign-in provides potential insights into a user's continued need for access to resources. It can help with determining if group membership or app access is still needed or could be removed. For external user management, you can understand if an external user is still active within the tenant or should be cleaned up.
3030

31-
## How to detect inactive user accounts
31+
## Detect inactive user accounts with Microsoft Graph
3232

3333
You can detect inactive accounts by evaluating the `lastSignInDateTime` property exposed by the `signInActivity` resource type of the **Microsoft Graph API**. The `lastSignInDateTime` property shows the last time a user made a successful interactive sign-in to Azure AD. Using this property, you can implement a solution for the following scenarios:
3434

@@ -44,9 +44,9 @@ You can detect inactive accounts by evaluating the `lastSignInDateTime` property
4444
> [!NOTE]
4545
> When you request the `signInActivity` property while listing users, the maximum page size is 120 users. Requests with $top set higher than 120 will fail. The `signInActivity` property supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`) *but not with any other filterable properties*.
4646
47-
## What you need to know
47+
### What you need to know
4848

49-
This section lists several details about the `lastSignInDateTime` property.
49+
The following details relate to the `lastSignInDateTime` property.
5050

5151
- The `lastSignInDateTime` property is exposed by the [signInActivity resource type](/graph/api/resources/signinactivity) of the [Microsoft Graph API](/graph/overview#whats-in-microsoft-graph).
5252

@@ -67,6 +67,18 @@ This section lists several details about the `lastSignInDateTime` property.
6767

6868
- The last sign-in date is associated with the user object. The value is retained until the next sign-in of the user.
6969

70+
## How to investigate a single user
71+
72+
If you need to view the latest sign-in activity for a user you can view the user's sign-in details in Azure AD. You can also use the Microsoft Graph scenario described in the [previous section](#detect-inactive-user-accounts-with-microsoft-graph).
73+
74+
1. Sign in to the [Azure portal](https://portal.azure.com).
75+
1. Go to **Azure AD** > **Users** > select a user from the list.
76+
1. In the **My Feed** area of the user's Overview, locate the **Sign-ins** tile.
77+
78+
![Screenshot of the user overview page with the sign-in activity tile highlighted.](media/howto-manage-inactive-user-accounts/last-sign-activity-tile.png)
79+
80+
The last sign-in date and time shown on this tile may take up to 24 hours to update, which means the date and time may not be current. If you need to see the activity in near real time, select the **See all sign-ins** link on the **Sign-ins** tile to view all sign-in activity for that user.
81+
7082
## Next steps
7183

7284
* [Get data using the Azure Active Directory reporting API with certificates](tutorial-access-api-with-certificates.md)
Loading

0 commit comments

Comments
 (0)