Uma Priyadarsi
Uma Priyadarsi

Reputation: 95

How to find when a User Object in Azure AD was last changed/modified?

OnPremise Active Directory AD seems to have whenChanged field by whihc the latest changes can be found. How to do the same in Azure AD?

Upvotes: 1

Views: 5529

Answers (2)

Fei Xue
Fei Xue

Reputation: 14649

The Azure AD Graph API also provide Differential query which returns all changes made to specified entities during the time between two consecutive requests. For example, if you make a differential query request an hour after the previous differential query request, only the changes made during that hour will be returned. This functionality is especially useful when synchronizing tenant directory data with an application’s data store.

More detail about it you can refer here.

Upvotes: 2

gfyans
gfyans

Reputation: 1256

Not at the moment.

If you're updating a user via the API, you'll have to keep track of these manually (in a SQL DB for example). If you're relying on the Microsoft hosted policies, then you just won't know.

See the user entity reference here: https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#user-entity

Upvotes: 1

Related Questions