SOLVED

Team channel creation with powershell "automatically appear everyones list

Copper Contributor

Hello guys - I am new to microsoft teams .. i am trying to create channel with powershell where i should be able to check in checkbox "Automatically show this channel in everyone’s channel list" using powershell .. could you guide whats the property for this

4 Replies
best response confirmed by ThereseSolimeno (Microsoft)
Solution

There's no way to set this via the PowerShell cmdlets currently. You can use the Graph API (https://docs.microsoft.com/en-us/graph/api/resources/channel?view=graph-rest-beta) or wait for an updated version of the PowerShell module (they just released a new preview version btw, I haven't checked if the parameter is available there).

Thanks for response , Graph API also should fine but i need to use membership-type and isfavouritebydefault options. I can see these are available only in Beta versions not v1.0.

As This is for client implementations, shall i go ahead and use in production implementations also? what are drawbacks if i use these type of beta properties in production?

 

"isFavoriteByDefault": true, "membershipType": "channelMembershipType",

 

 

 

That's up to you, the /beta endpoints come with no support and can change at any time. Your other option is to wait :D

@Vasil Michev 

This is now possible as a team-owner within the teams app via the manage-team options > channels view. Simple checkboxes...

1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution

There's no way to set this via the PowerShell cmdlets currently. You can use the Graph API (https://docs.microsoft.com/en-us/graph/api/resources/channel?view=graph-rest-beta) or wait for an updated version of the PowerShell module (they just released a new preview version btw, I haven't checked if the parameter is available there).

View solution in original post