Forum Discussion
reddy207reddy
Sep 04, 2020Copper Contributor
Team channel creation with powershell "automatically appear everyones list
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
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).
4 Replies
Sort By
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).
- sjackson340Copper Contributor
This is now possible as a team-owner within the teams app via the manage-team options > channels view. Simple checkboxes...
- reddy207reddyCopper Contributor
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 😄