Share via

Microsoft Graph API change events /teams/getAllMessages stopped working

Superside 0 Reputation points
2024-12-12T10:34:57.9+00:00

Hello,

We are using Microsoft Graph API change events subscription to receive messages from all channels in all teams across tenant by creating (POST) subscription with /teams/getAllMessages in resource field. Today it suddenly stopped working and we receive an error:

Operation: Create; Exception: [Status Code: BadRequest; Reason: teamId in subscription resource needs to be a valid GUID.]

But we don't want to supply any teamId or whatever, we want tenant-level subscription.
Any tips?

Microsoft Security | Microsoft Graph

Your answer

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