Forum Discussion
How to check if a Microsoft Enterprise app is in use based on the last 90 days of usage data.
You can use the servicePrincipalSignInActivities report: https://learn.microsoft.com/en-us/graph/api/reportroot-list-serviceprincipalsigninactivities?view=graph-rest-beta&tabs=http
It gives you data on when the given SP was last used, which goes well beyond the 30 days you get from logs.
- sunilkumarcherukuriMay 02, 2025Copper Contributor
Thanks for your reply VasilMichev
I am running KQL queries to obtain usage details of enterprise applications for the last 90 days based on the mentioned sign-in activities. Besides sign-in activities, I would like to know if there are other mechanisms, such as API permissions, used by the service principal.
- sunilkumarcherukuriMay 02, 2025Copper Contributor
Hello VasilMichev
Thanks for your reply on the discussion.
I am running KQL queries to obtain usage details of enterprise applications for the last 90 days based on the mentioned sign-in activities. Besides sign-in activities, I would like to know if there are other mechanisms, such as API permissions, used by the service principal.