CmdID / PowerShell / Cmdlets / New
New-CsExternalAccessPolicy
Enables you to create a new external access policy. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 20 parameters Its page in the reference
Parameters
Show its 20 parameters
-AllowedExternalDomainsSpecifies the external domains allowed to communicate with users assigned to this policy.-BlockedExternalDomainsSpecifies the external domains blocked from communicating with users assigned to this policy.-CommunicationWithExternalOrgsIndicates how users assigned to the policy can communicate with external organizations (domains).-Confirm, -cfPrompts you for confirmation before executing the command.-DescriptionEnables administrators to provide explanatory text to accompany the policy.-EnableAcsFederationAccessIndicates whether Teams meetings organized by the user can be joined by users of customer applications built using Azure Communication Services (ACS).-EnableFederationAccessIndicates whether the user is allowed to communicate with people who have SIP accounts with a federated organization.-EnableOutsideAccessIndicates whether the user is allowed to connect to Skype for Business Server over the Internet, without logging on to the organization's internal network.-EnablePublicCloudAudioVideoAccessIndicates whether the user is allowed to conduct audio/video conversations with people who have SIP accounts with a public Internet connectivity provider such as MSN.-EnableTeamsConsumerAccess(Microsoft Teams Only) Indicates whether the user is allowed to communicate with people who have who are using Teams with an account that's not managed by an organization.-EnableTeamsConsumerInbound(Microsoft Teams Only) Indicates whether the user is allowed to be discoverable by people who are using Teams with an account that's not managed by an organization.-EnableTeamsSmsAccessAllows you to control whether users can have SMS text messaging capabilities within Teams.-EnableXmppAccessIndicates whether the user is allowed to communicate with users who have SIP accounts with a federated XMPP (Extensible Messaging and Presence Protocol) partner.-FederatedBilateralChatsThis setting enables bi-lateral chats for the users included in the messaging policy.-ForceSuppresses the display of any non-fatal error message that might occur when running the command.-IdentityUnique Identity to be assigned to the policy.-InMemoryCreates an object reference without actually committing the object as a permanent change.-RestrictTeamsConsumerAccessToExternalUserProfilesDefines if a user is restricted to collaboration with Teams Consumer (TFL) user only in Extended Directory-TenantGlobally unique identifier (GUID) of the Skype for Business Online tenant account for whom the new external access policy is being created.-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.