user6230298
user6230298

Reputation:

Getting Update Annotaion in Azure Graph API

I am using Azure Graph APIs to retrieve Information such as Mail, ProxyAddresses for User and Group. Though there are @removed Annotations to indicate the Deleted users, Is there any Annotation to specifically indicate an Update done to a User.

Is there a way to get the Updates for a User or a User in a group.

The Below are the URL that i am trying to get information on : https://graph.microsoft.com/v1.0/users/delta/?$select=id,mail,proxyaddresses

https://graph.microsoft.com/v1.0/groups/delta/?&$select=id,mailEnabled,mail,proxyAddresses,members

There is no way to identify an Update to the Mail or ProxyAddress for a Particular User in Groups or User. Group members only inidicate the user id which doesnt specify its an Addition or an Update to the User.

Upvotes: 0

Views: 46

Answers (1)

Allen Wu
Allen Wu

Reputation: 16458

/users/delta can trace the update of Mail and ProxyAddresses of a user.

But /groups/delta can't trace the update of Mail and ProxyAddresses of a user in group. /groups/delta is only for getting incremental changes for groups, not for its members.

You can test /users/delta like this:

  1. Call GET https://graph.microsoft.com/v1.0/users/delta/?$select=id,mail,proxyaddresses. There is a property "@odata.nextLink" in the response. Call the nextLink URL in Microsoft Graph Explorer for one or more times until there is "@odata.deltaLink" in the response.
  2. Add or delete an alias in O365 admin center. Reference here.
  3. Call the deltaLink URL to see there is a change of proxyAddresses in the response.

Upvotes: 0

Related Questions