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

Create Teams Channel using Graph API

(0) ShareShare
ReportReport
Posted on by 174

Hi,

Trying to use the Beta graph api - https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-beta&tabs=http to create a private channel for a team I have setup as owner with me as channel owner.

Using the example I get bad gateway, failed to execute backend request error.

 

This is the example json and below is card screenshot.

Anybody any ideas?

 

Capture.JPG

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    There is a Create Channel Action available although it says preview... May be you can try that if you can see it in your tenant...

     

    PrasadAthalye_0-1596465371969.png

     

  • Martin CPA Profile Picture
    174 on at

    Sadly it doesn’t offer private mode. 

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @MartinHutchcpa ,

     

    Please refer to the following thread and see if it helps:

    Solved: How to create a private channel in Microsoft Teams... - Power Platform Community

     

    Best Regards,

  • Verified answer
    Martin CPA Profile Picture
    174 on at

    Thanks for all your suggestions.

    I found my error.

    As this flow integrates with Dynamics I was mistakingly using the crm user id not the Active Directory user id.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    HI, Just a small question as i'm trying something similar

     

    How did you managed to get the Authorization Token?

  • Martin CPA Profile Picture
    174 on at

    I used a card

    Capture.JPG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks For your reply

     

    It did gave me the bearer token but unfortunately my next step is giving a 403 forbidden error

    What I'm trying to achieve is create an online meeting as per below documentation :
    https://docs.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http

     

    for that I have also got the requested admin consent for permission "OnlineMeetings.ReadWrite"

     

    I'm still not sure as why its still not allowing me.

  • Martin CPA Profile Picture
    174 on at

    Try using the graph explorer.

    It will also show you what permissions you need.

    https://developer.microsoft.com/en-us/graph/graph-explorer

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks,

     

    I can see that onlinemeetings.Readwrite is the permission that I needed from the graph explorer.

     

    I've managed to get it but still somehow it is giving me 403- forbidden error

     

    Is it any specific way that you are passing the token ? I am passing it as directly raw ey (Should I start it with bearer keyword in the beginning?)

     

    Flowhttp.PNG

  • Martin CPA Profile Picture
    174 on at

    Sorry for delay.

    The value for the Authorization key is simply the "Access token" field from the "Get Token" parsed json response.

    Capture.JPG

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
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard