Reputation: 1431
I am looking to fetch activities of user based on their user id. I can see that there is a Get user activities API to get my activities but is there any way to get activity of other users? Given the fact that i have admin account and i can assign permissions.
Upvotes: 0
Views: 387
Reputation: 20788
To get the activity of other users you can use this API
GET https://graph.microsoft.com/v1.0/users/{id}/activities
It requires UserActivity.ReadWrite.CreatedByApp
permission.
Upvotes: 1