getAllMessages requesting to have Chat.Read.All when I granted Chat.ReadWrite.All

Clifton Sammut 26 Reputation points
2021-06-11T10:42:52.747+00:00

So have an Enterprise application with Chat.ReadWrite.All permission doing the following call no longer works

https://graph.microsoft.com/beta/users/{user_id}/chats/getAllMessages

{
"error": {
"code": "Forbidden",
"message": "Missing role permissions on the request. API required one of 'Chat.Read.All'. Roles on the request 'TeamSettings.ReadWrite.All, Teamwork.Migrate.All, Mail.ReadWrite, MailboxSettings.Read, Contacts.ReadWrite, Group.ReadWrite.All, Sites.Manage.All, User.Read.All, TeamMember.ReadWrite.All, ChannelMessage.Read.All, Calendars.ReadWrite, Chat.ReadWrite.All, ChannelMember.ReadWrite.All, GroupMember.ReadWrite.All, ChannelSettings.ReadWrite.All, Sites.FullControl.All, Notes.ReadWrite.All'",
"innerError": {
"date": "2021-06-11T10:39:43",
"request-id": "8408cd66-75cb-4178-85a8-93ae23fdabc8",
"client-request-id": "8408cd66-75cb-4178-85a8-93ae23fdabc8"
}
}
}

This Started happening since Wednesday 9th evening.

Do we now need to add Chat.Read.All or is this a bug that is going to be fixed soon?

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Security | Microsoft Graph
{count} votes

Answer accepted by question author
  1. Shweta Choudhary 606 Reputation points Microsoft Employee
    2021-06-15T17:15:25.613+00:00

    We are working on this issue. It might require few weeks to ship.
    Unfortunately we do not have any ETA yet.

    Thanks!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.