CmdID / PowerShell / Cmdlets / New
New-MgTeamChannel
Create a new channel in a team, as specified in the request body. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 35 parameters Its page in the reference
Parameters
Show its 35 parameters
-AdditionalPropertiesAdditional Parameters-AllMembersA collection of membership records associated with the channel, including both direct and indirect members of shared channels.-BodyParameterchannel To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedDateTimeRead-only.-DescriptionOptional textual description for the channel.-DisplayNameChannel name as it will appear to the user in Microsoft Teams.-EmailThe email address for sending messages to the channel.-EnabledAppsA collection of enabled apps in the channel.-FilesFolderdriveItem To construct, see NOTES section for FILESFOLDER properties and create a hash table.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-IsArchivedIndicates whether the channel is archived.-IsFavoriteByDefaultIndicates whether the channel should be marked as recommended for all members of the team to show in their channel list.-LayoutTypechannelLayoutType-MembersA collection of membership records associated with the channel.-MembershipTypechannelMembershipType-MessagesA collection of all the messages in the channel.-MigrationModemigrationMode-OriginalCreatedDateTimeTimestamp of the original creation time for the channel.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SharedWithTeamsA collection of teams with which a channel is shared.-SummarychannelSummary To construct, see NOTES section for SUMMARY properties and create a hash table.-TabsA collection of all the tabs in the channel.-TeamIdThe unique identifier of team-TenantIdThe ID of the Microsoft Entra tenant.-WebUrlA hyperlink that will go to the channel in Microsoft Teams.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.