Sep 04 2020 06:53 AM
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
Sep 04 2020 10:30 AM
SolutionThere'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).
Sep 07 2020 01:38 AM
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",
Sep 07 2020 07:33 AM
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
Mar 01 2024 03:05 AM
This is now possible as a team-owner within the teams app via the manage-team options > channels view. Simple checkboxes...
Sep 04 2020 10:30 AM
SolutionThere'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).