Hi @Sharda Patel
You need to meet the following:
- Make sure you have assigned the
ChannelSettings.ReadWrite.All
delegate permission to the calling app and granted administrator consent. - Make sure you are requesting the access token using a delegated authentication flow, such as auth code flow or ROPC flow (not recommended).
- Make sure the logged in user is a member or owner of the team. If the logged in user is not a member or owner of the team, then make sure the user has the Group Admin/Team Admin/Global Admin role.
- Make sure the logged in user has an Office 365 license.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.