Azure Active Directory Group Delta API

Shambhavi Rai 96 Reputation points
2021-07-27T06:40:02.353+00:00

I am using the Azure Active Directory Group API for my tenant to list all the groups. I am using GET DELTA

https://learn.microsoft.com/en-us/graph/api/group-delta?view=graph-rest-1.0&tabs=http

GET https://graph.microsoft.com/v1.0/groups/delta?$select=resourceBehaviorOptions,groupTypes,membershipRuleProcessingState,mail,visibility,displayName,mailEnabled,createdDateTime,creationOptions,proxyAddresses,securityIdentifier,resourceProvisioningOptions,id,securityEnabled,mailNickname,members

According to the documentation, this call when I make for the first time should give me all the meta-data related to groups and in the end it should give me a "delta-link". This delta link when called later would just give the changes that have been made in the meta-data of group since then.

However during the first call only when I should be getting all the meta-data, I am getting resources with annotations @removed. According to my understanding I should get the changes only when I call the delta link and not for the first time when I am getting all the data

I wanted to know if this is a feature (Microsoft returns @removed for groups which were removed let's day 10 days ago). Or this is a bug?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,698 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,601 Reputation points
    2021-07-27T13:22:10.567+00:00

    Hi @Shambhavi Rai · Thank you for reaching out.

    Doesn't look like a bug, as for me it is working as expected. Below is the response after adding a user to Group02.
    118344-image.png

    I then copied the delta link and ran a GET call using that link and I do not see any result in the Value array afterwards as there are no changes done.
    118302-image.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Shambhavi Rai 96 Reputation points
    2021-07-27T16:03:56.833+00:00

    Hi @AmanpreetSingh-MSFT , thanks for your response

    However I am seeing this issue with my account, during the first call when I should get the meta-data of all the groups, I get a few resources looking like this as well, my expectation after reading the documentation was that these type of resources are returned only after all the meta-data has been returned once and we go for the subsequent delta call using delta link provided at the last page of response.

    118365-screenshot-2021-07-27-at-93024-pm.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.