CmdID

CmdID / PowerShell / Cmdlets / New

New-CsTeamsMessagingPolicy

The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 45 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

45 in the Microsoft Teams PowerShell reference
Show its 45 parameters
-AllowChatWithGroupThis setting determines if users can chat with groups (Distribution, M365 and Security groups).
-AllowCommunicationComplianceEndUserReportingThis setting determines if users can report offensive messages to their admin for Communication Compliance.
-AllowCustomGroupChatAvatarsThese settings enables, disables updating or fetching custom group chat avatars for the users included in the messaging policy.
-AllowExtendedWorkInfoInSearchThis setting enables/disables showing company name and department name in search results for MTO users.
-AllowFluidCollaborateThis field enables or disables Fluid Collaborate feature for users.
-AllowFullChatPermissionUserToDeleteAnyMessageThis setting determines if users with the 'Full permissions' role can delete any group or meeting chat message within their tenant.
-AllowGiphyDetermines whether a user is allowed to access and post Giphys.
-AllowGiphyDisplayDetermines if Giphy images should be displayed that had been already sent or received in chat.
-AllowGroupChatJoinLinksThis setting determines if users in a group chat can create and share join links for other users within the organization to join that chat.
-AllowImmersiveReaderDetermines whether a user is allowed to use Immersive Reader for reading conversation messages.
-AllowMemesDetermines whether a user is allowed to access and post memes.
-AllowOwnerDeleteMessageDetermines whether owners are allowed to delete all the messages in their team.
-AllowPasteInternetImageDetermines if a user is allowed to paste internet-based images in compose.
-AllowPriorityMessagesDetermines whether a user is allowed to send priorities messages.
-AllowRemoveUserDetermines whether a user is allowed to remove a user from a conversation.
-AllowSecurityEndUserReportingThis setting determines if users can report any security concern posted in messages to their admin.
-AllowSmartComposeTurn on this setting to let a user get text predictions for chat messages.
-AllowSmartReplyTurn this setting on to enable suggested replies for chat messages.
-AllowStickersDetermines whether a user is allowed to access and post stickers.
-AllowUrlPreviewsUse this setting to turn automatic URL previewing on or off in messages.
-AllowUserChatDetermines whether a user is allowed to chat.
-AllowUserDeleteChatDetermines whether a user is allowed to chat.
-AllowUserDeleteMessageDetermines whether a user is allowed to delete their own messages.
-AllowUserEditMessageDetermines whether a user is allowed to edit their own messages.
-AllowUserTranslationDetermines whether a user is allowed to translate messages to their client languages.
-AllowVideoMessagesThis setting determines if users can create and send video messages.
-AudioMessageEnabledTypeDetermines whether a user is allowed to send audio messages.
-ChannelsInChatListEnabledTypeOn mobile devices, enable to display favorite channels above recent chats.
-ChatPermissionRoleDetermines the Supervised Chat role of the user.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CreateCustomEmojisThis setting enables the creation of custom emojis and reactions within an organization for the specified policy users.
-DeleteCustomEmojisThese settings enable and disable the editing and deletion of custom emojis and reactions for the users included in the messaging policy.
-DescriptionAllows you to provide a description of your policy to note the purpose of creating it.
-DesignerForBackgroundsAndImagesThis setting determines whether a user is allowed to create custom AI-powered backgrounds and images with MS Designer.
-ForceThe Force switch specifies whether to suppress warning and confirmation messages.
-GiphyRatingTypeDetermines the Giphy content restrictions applicable to a user.
-IdentityUnique identifier for the teams messaging policy to be created.
-InMemoryCreates an object reference without actually committing the object as a permanent change.
-InOrganizationChatControlThis setting determines if chat regulation for internal communication in the tenant is allowed.
-ReadReceiptsEnabledTypeUse this setting to specify whether read receipts are user controlled, enabled for everyone, or disabled.
-TenantGlobally unique identifier (GUID) of the tenant account whose external user communication policy are being created.
-UsersCanDeleteBotMessagesDetermines whether a user is allowed to delete messages sent by bots.
-UseB2BInvitesToAddExternalUsersIndicates whether B2B invites should be used to add external users when necessary.
-AutoShareFilesInExternalChatsDetermines whether files are automatically shared in external chats.
-WhatIf, -wiShows what would happen if the cmdlet runs.