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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,994 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,246 questions
{count} votes

Accepted answer
  1. Shweta Choudhary 601 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 Answers by the question author, which helps users to know the answer solved the author's problem.