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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create Teams Channel u...
Power Automate
Unanswered

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
    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
    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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard