Add Setthing permissions of Graph API

I.H byD 1 Reputation point

Hi, my batch system developed using Graph API threw an error .
The error is
" API requires one of ' ChannelSettings.Read.All, Channel.ReadBasic.All,ChannelSettings.ReadWrite.All "

In that system , Getting channel information using "Get-MgTeamChannel" of Graph API .
So I set permissions ' Group.ReadWrite.All' in AzureAD.
see below...
Permission type is Delegation (work or school account).

It was working fine at the end of July.
But,  Around August 20th, the System threw that error .
I solved it by adding "ChannelSettings.ReadWrite.All" of permissions .

I ask )

Why did I suddenly need to add permissions?
The useful information was not posted on the blog of Graph API changelog.

Please give me an answer.
sorry i'm not good at english... :)

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,836 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RajeshKumarMSFT 1,971 Reputation points Microsoft Vendor

    Hi @I.H byD ,

    Hope you are doing well,

    I am able to get the teams channel messages with Get-MgTeamChannel Cmd let without using ChannelSettings.ReadWrite.All. permission ,under delegate permission.

    I have used these scopes "Group.Read.All,Group.Readwrite.All,Directory.Read.All,Directory.Readwrite.All"
    Please find the sample script screenshot with the details


    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.