diff --git a/teams/teams-ps/teams/New-CsExternalAccessPolicy.md b/teams/teams-ps/teams/New-CsExternalAccessPolicy.md index 1d605cae3d..482fe6882c 100644 --- a/teams/teams-ps/teams/New-CsExternalAccessPolicy.md +++ b/teams/teams-ps/teams/New-CsExternalAccessPolicy.md @@ -27,7 +27,7 @@ For information about external access in Microsoft Teams, see [Manage external a New-CsExternalAccessPolicy [-Identity] [-AllowedExternalDomains ] [-BlockedExternalDomains ] - [-CommunicationWithExternalOrgs ] + [-CommunicationWithExternalOrgs ] [-Confirm] [-Description ] [-EnableAcsFederationAccess ] diff --git a/teams/teams-ps/teams/Set-CsExternalAccessPolicy.md b/teams/teams-ps/teams/Set-CsExternalAccessPolicy.md index a1987361a2..cc47d65e5b 100644 --- a/teams/teams-ps/teams/Set-CsExternalAccessPolicy.md +++ b/teams/teams-ps/teams/Set-CsExternalAccessPolicy.md @@ -22,7 +22,7 @@ This cmdlet was introduced in Lync Server 2010. Set-CsExternalAccessPolicy [[-Identity] ] [-AllowedExternalDomains ] [-BlockedExternalDomains ] - [-CommunicationWithExternalOrgs ] + [-CommunicationWithExternalOrgs ] [-Confirm] [-Description ] [-EnableAcsFederationAccess ] @@ -47,7 +47,7 @@ Set-CsExternalAccessPolicy [[-Identity] ] Set-CsExternalAccessPolicy [-Instance ] [-AllowedExternalDomains ] [-BlockedExternalDomains ] - [-CommunicationWithExternalOrgs ] + [-CommunicationWithExternalOrgs ] [-Confirm] [-Description ] [-EnableAcsFederationAccess ] diff --git a/teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md b/teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md index a45d8ff72a..d5d3e1c8a6 100644 --- a/teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md +++ b/teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md @@ -12,8 +12,6 @@ schema: 2.0.0 ## SYNOPSIS -**Limited Preview:** Functionality described in this document is currently in limited preview and only authorized organizations have access. This preview version is provided without a service-level agreement, and is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/). - This cmdlet is used to manage the federation configuration between Teams and Azure Communication Services. For more information, please see [Azure Communication Services and Teams Interoperability](https://learn.microsoft.com/azure/communication-services/concepts/teams-interop). ## SYNTAX diff --git a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md index c820afa22f..ab1df7dbb2 100644 --- a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md +++ b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md @@ -187,17 +187,26 @@ When this command completes, the Allowed Trial Tenant Domains list will be repla ### -------------------------- Example 13 -------------------------- ``` +Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @("contoso.com", "fabrikam.com") +``` + +Example 13 shows another way to set a value of `AllowedTrialTenantDomains`. It uses array of objects and it always replaces value of the `AllowedTrialTenantDomains`. When this command completes, the result is the same as in example 12. + +The array of `AllowedTrialTenantDomains` can be emptied by running the following command: `Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @()`. + +### -------------------------- Example 14 -------------------------- +``` $list = New-Object Collections.Generic.List[String] $list.add("contoso.com") Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Add=$list} ``` -Example 13 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object. +Example 14 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object. First, a List is created and domains are added to it, then, use the Add method in the `AllowedTrialTenantDomains` parameter to add the domains to the existing allowed domains list. When this command completes, the domains in the list will be added to any domains already on the Allowed Trial Tenant Domains list. -### -------------------------- Example 14 -------------------------- +### -------------------------- Example 15 -------------------------- ``` $list = New-Object Collections.Generic.List[String] $list.add("contoso.com") @@ -205,16 +214,16 @@ $list.add("contoso.com") Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Remove=$list} ``` -Example 14 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object. +Example 15 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object. First, a List is created and domains are added to it, then use the Remove method in the `AllowedTrialTenantDomains` parameter to remove the domains from the existing allowed domains list. When this command completes, the domains in the list will be removed from the Allowed Trial Tenant Domains list. -### -------------------------- Example 15 ------------------------- +### -------------------------- Example 16 ------------------------- ``` Set-CsTenantFederationConfiguration -CustomizeFederation $True ``` -Example 15 shows how you can enable the feature where you can customize your federation in ExternalAccessPolicy. +Example 16 shows how you can enable the feature where you can customize your federation in ExternalAccessPolicy. ## PARAMETERS