web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add Member to Private ...
Power Automate
Suggested Answer

Add Member to Private Teams Channel

(0) ShareShare
ReportReport
Posted on by 194
Hello,  i am trying to set up a flow to add users to a private teams channel using the Send a Microsoft Graph HTTP request action. i'm looking at the Graph Explorer for this channel, so i have my Team ID and my Channel ID, and i have the users email.  When i try to run this i get a forbidden error.  Am i doing something wrong here, or am i being blocked my my company?
 
Action 'AddUserToPrivateChannel' failed: Missing scope permissions on the request. API requires one of 'ChannelMember.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All'. Scopes on the request 'Calendars.ReadWrite, Calendars.ReadWrite.Shared, Channel.Create, Channel.ReadBasic.All, ChannelMember.Read.All, ChannelMessage.Read.All, ChannelMessage.ReadWrite, ChannelMessage.Send, Chat.Create, Chat.Read, Chat.ReadWrite, ChatMessage.Send, GroupMember.Read.All, OnlineMeetingTranscript.Read.All, Presence.Read.All, Presence.ReadWrite, Team.Create, Team.ReadBasic.All, TeamMember.ReadWrite.All, TeamsAppInstallation.ReadWriteForChat, TeamsAppInstallation.ReadWriteForTeam, TeamsAppInstallation.ReadWriteForUser, TeamSettings.Read.All, TeamSettings.ReadWrite.All, TeamworkTag.Read, TeamworkTag.ReadWrite, User.Read, User.Read.All'
 
 
i have also tried this adding ["member"] to the roles in the body
 
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["member"],
"user@odata.bind": "https://graph.microsoft.com/v1.0/users/Guy@Company.com"
}
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi @Frac
     
    So in this case, you need to have a Proper Application registration in Azure. It needs to be registered for Graph API and you need to add the proper Scopes, which is what is missing.
     
    I do not know if you simply am calling Graph, or if you actually created a Graph Azure App with scopes, but you need that.
     
    If you have an app already update that
     
    Now you can use the HTTP Connector also, but depending (in some cases) you have to use the Azure one to support Delegation
     
    I did double check and Copilot has the correct steps, I just didn't want to past them here as the formatting drives me bonkers lol but if you search in Copilot it will give you step by step for any of these scenarios.
     
    IF you do not have an app or cannot use these other connectors let me know.

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard