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 / Private Teams Channel ...
Power Automate
Answered

Private Teams Channel via Power Automate

(0) ShareShare
ReportReport
Posted on by

Hello

 

I have seen a few posts on this subject, but I can't get them to work for me. I'm not sure if I'm not authorised to use this action as it's a premium action.

 

Is there any other way at all that this can be done? Or am I doing it wrong

 

{
"@odata.type": "#Microsoft.Graph.channel",
"membershipType": "private",
"displayName": "@{body('Get_user_profile_(V2)')?['displayName']}",
"description": "This is for private content"
}

 

LukeSykes_0-1688048515644.png

 If I remove the '@' from the odata.type in the json - it runs but I get the below issue

 

{
"odata.type": "#Microsoft.Graph.channel",
"membershipType": "private",
"displayName": "@{body('Get_user_profile_(V2)')?['displayName']}",
"description": "This is for private content"
}

 

LukeSykes_1-1688048684050.png

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @LukeSykes,

     

    In your screenshot I do not see any authentication setup in the HTTP action. Are you using OAuth with a client id & client secret?

     

    I also see you are not setting an owner. Try using the same payload as in the Microsoft docs example:

    https://learn.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0&tabs=http#example-2-create-private-channel-on-behalf-of-user

     

    Alternatively, you could also try the Send an HTTP request action of the Office 365 Groups connector.


    Try something like below:

     

     

    {
     "@odata.type": "#Microsoft.Graph.channel",
     "membershipType": "private",
     "displayName": "@{outputs('Get_user_profile_(V2)')?['body/displayName']}",
     "description": "This is my first private channel",
     "members":
     [
     {
     "@odata.type":"#microsoft.graph.aadUserConversationMember",
     "user@odata.bind":"https://graph.microsoft.com/v1.0/users('@{outputs('Get_user_profile_(V2)')?['body/id']}')",
     "roles":["owner"]
     }
     ]
    }

     

     

    createprivatechannel.png

  • LukeSykes Profile Picture
    on at

    Perfect - thank you

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard