Up until 12am EST Sept 20, 2023 the https://graph.microsoft.com/beta/security/labels/retentionLabels endpoint was working fine. Now it is returning 401 Unauthorized. What changed?

Jonathan Schneider 16 Reputation points
2023-09-20T22:02:47.62+00:00

We have been using the https://graph.microsoft.com/beta/security/labels/retentionLabels endpoint to get a list of retention labels for the past 9 months.

It has worked fine until this morning (12am EST Sept 20, 2023).

It now returns 401 Unauthorized with the following error JSON response:

{
  "error": {
    "code": "Unauthorized",
    "message": "Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.",
    "innerError": {
      "date": "2023-09-20T21:27:55",
      "request-id": "24ea5686-9aae-41ff-b820-254c0b48855c",
      "client-request-id": "24ea5686-9aae-41ff-b820-254c0b48855c"
    }
  }
}

We use a delegated token with RecordsManagement.Read.All scope.

We opened a ticket with MS and are awaiting help but would love to know if anyone else is experiencing this issue as well.

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

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.