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 / Teams Shared Channel c...
Power Automate
Unanswered

Teams Shared Channel creation via Flow - how to share it with everyone on the team

(0) ShareShare
ReportReport
Posted on by 74

Hi, I create a Shared Channel via Graph API as mentioned here which works fine:

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

 

A missing thing is, compared to the creation in the UI is to share the channel with everyone on the team.

cgru3eejc2_0-1665744468585.png

 

Does someone know how to "Share this channel with everyone on the team" via Graph API?

 

Thanks for any help.

 

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

    Hi @cgru3eejc2,

     

    I can see there are several methods for this, but not one yet the create a link with a team.

    https://learn.microsoft.com/en-us/graph/api/resources/sharedwithchannelteaminfo?view=graph-rest-1.0

  • cgru3eejc2 Profile Picture
    74 on at

    Hi @Expiscornovus 

     

    Exactly, I know that there are several methods available and interestingly also an unshare functionality. But not to share...

     

    For curiosity I checked the PowerShell Graph Modul and what a suprise it seems there are Graph commands available to share it with the team.

     

    PS C:\WINDOWS\system32> Find-MgGraphCommand -command New-MgTeamChannelSharedWithTeam

       APIVersion: v1.0

    Command                         Module Method URI                                                    OutputType                               Permissions

    -------                         ------ ------ ---                                                    ----------                               ----

    New-MgTeamChannelSharedWithTeam Teams  POST   /teams/{team-id}/channels/{channel-id}/sharedWithTeams IMicrosoftGraphSharedWithChannelTeamInfo {} 

     

       APIVersion: beta

    Command                         Module Method URI                                                    OutputType                                Per

                                                                                                                                                   mis

                                                                                                                                                   sio

                                                                                                                                                   ns

    -------                         ------ ------ ---                                                    ----------                                ---

    New-MgTeamChannelSharedWithTeam Teams  POST   /teams/{team-id}/channels/{channel-id}/sharedWithTeams IMicrosoftGraphSharedWithChannelTeamInfo1 {}

     

    When I try the POST url in Graph (e.g. Graph Explorer) directly, I get the response that the path is invalid. 😞

    I thought first is the Graph API and the PowerShell Graph API is automatically generated.

    Somehow it seems not fully implemented.

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard