Forum Discussion
d-rajapaksa
Oct 12, 2021MVP
How to get list of inactive users in Azure Active Directory/M365 without AAD Premium Licenses
I have asked a similar question about how to get a list of users who are not logged in for a while to their accounts. But the method mentioned below in the previous answer works only for Azure Active Directory Premium tenants. Can someone please suggest to me how to get list of inactive users ...
Refer to my old thread here-https://techcommunity.microsoft.com/t5/office-365/get-list-of-inactive-users-with-licenses-assigned-in-microsoft/m-p/2808424
- Another option would be to use the M365 Usage reports data: https://docs.microsoft.com/en-us/microsoft-365/admin/activity-reports/activity-reports?view=o365-worldwide
You can also access them programmatically, via Graph: https://docs.microsoft.com/en-us/graph/api/reportroot-getoffice365activeuserdetail?view=graph-rest-1.0