By Frederick Lin


2018-11-08 23:10:38 8 Comments

We enforce base controls to Office 365 groups that are dependent on the data classification value. We have two ways these controls get applied:

  1. Through a Graph subscription which automatically applies a set of base controls to an Office 365 group
  2. A full scan to ensure each Office 365 group with a data classification value is assigned the correct base controls

We are trying to make the 1st option execute more efficiently by only proceeding with checking/applying the base controls if the data classification property changes. The delta query for group appears to be bugged; if the classification property changed values, it does not correctly report this. Any property that has been changed has a "null" value. Also the visibility property is always there.

Repro steps:

1: Initialization. Get delta token.

 HTTP GET https://graph.microsoft.com/beta/groups/delta&$deltatoken=latest

2: Make a classification change to an Office 365 group. Make a description change to another Office 365 group.

3: Delta Query.

HTTP GET https://graph.microsoft.com/beta/groups/delta?$deltatoken=DeltaToken
Prefer:return=minimal

Response is:

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#groups",
    "@odata.deltaLink": "https://graph.microsoft.com/beta/groups/delta?$deltatoken=NextDeltaToken",
    "value": [
        {
            "classification": null,
            "description": null,
            "visibility": null,
            "id": "Group1ID"
        },
        {
            "description": null,
            "visibility": null,
            "id": "Group2ID"
        }
    ]
}

Edit: Forgot to add... Microsoft docs mention a null value means the value is empty or the property has not changed. This observation doesn't reflect the docs.

0 comments

Related Questions

Sponsored Content

2 Answered Questions

1 Answered Questions

2 Answered Questions

Office 365 Graph API $top not being honoured on delta queries

1 Answered Questions

[SOLVED] Get extended properties in office 365 graph delta API

1 Answered Questions

[SOLVED] Using the Microsoft Team Beta API, provisioning Teams

  • 2018-06-19 19:32:50
  • user9963819
  • 196 View
  • 3 Score
  • 1 Answer
  • Tags:   microsoft-graph

0 Answered Questions

Why am I not able to call an item in the group site as an external user?

  • 2017-08-21 06:55:14
  • Jorgen Solberg
  • 14 View
  • 0 Score
  • 0 Answer
  • Tags:   microsoft-graph

3 Answered Questions

[SOLVED] Display a list of upcoming birthdays of Office 365 users using Microsoft Graph API

1 Answered Questions

Sponsored Content