CmdID / PowerShell / Cmdlets / Set
Set-CsExternalAccessPolicy
Enables you to modify the properties of an existing 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 the users get assigned by this policy can communicate with the external orgs.-Confirm, -cfPrompts you for confirmation before executing the command.-DescriptionEnables administrators to provide additional text to accompany the policy.-EnableAcsFederationAccessIndicates whether Teams meeting 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 identifier for the external access policy to be modified.-InstanceAllows you to pass a reference to an object to the cmdlet rather than set individual parameter values.-RestrictTeamsConsumerAccessToExternalUserProfilesDefines if a user is restriced to collaboration with Teams Consumer (TFL) user only in Extended Directory Possible Values: True, False-TenantGlobally unique identifier (GUID) of the Skype for Business Online tenant account for whom the external access policy is being modified.-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.