CmdID / PowerShell / Cmdlets / New
New-MgGroupTeamChannelSharedWithTeam
Create new navigation property to sharedWithTeams for groups Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-AdditionalPropertiesAdditional Parameters-AllowedMembersA collection of team members who have access to the shared channel.-BodyParametersharedWithChannelTeamInfo To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ChannelIdThe unique identifier of channel-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DisplayNameThe name of the team.-GroupIdThe unique identifier of group-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.-IsHostTeamIndicates whether the team is the host of 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.-Teamteam To construct, see NOTES section for TEAM properties and create a hash table.-TenantIdThe ID of the Microsoft Entra tenant.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.