From 0311003e5b49071c07fa873811950967435dd602 Mon Sep 17 00:00:00 2001 From: rhrivnak Date: Wed, 11 Dec 2024 12:25:01 +0100 Subject: [PATCH 1/6] Update Set-CsTenantFederationConfiguration.md New example added which shows another way how to set AllowedTrialTenantDomains. --- .../Set-CsTenantFederationConfiguration.md | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md index c820afa22f..7eff3a13f4 100644 --- a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md +++ b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md @@ -187,17 +187,29 @@ 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. + +List of `AllowedTrialTenantDomains` can be emptied by calling 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 +217,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 From 936c7f597eed5ee1d326862670b333739a479ead Mon Sep 17 00:00:00 2001 From: rhrivnak Date: Wed, 11 Dec 2024 12:35:49 +0100 Subject: [PATCH 2/6] Update Set-CsTenantFederationConfiguration.md Typo fixed --- teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md index 7eff3a13f4..dfc5eb9a51 100644 --- a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md +++ b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md @@ -192,7 +192,7 @@ Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @("contoso.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. -List of `AllowedTrialTenantDomains` can be emptied by calling following command: +Array of `AllowedTrialTenantDomains` can be emptied by calling following command: ``` Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @() ``` From c2852a9a3cd2c1d86e0c84b021fe39712f1d73ac Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Thu, 16 Jan 2025 09:09:10 -0800 Subject: [PATCH 3/6] Fix grammar in documentation for `AllowedTrialTenantDomains` --- teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md index dfc5eb9a51..ab1df7dbb2 100644 --- a/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md +++ b/teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md @@ -192,10 +192,7 @@ Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @("contoso.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. -Array of `AllowedTrialTenantDomains` can be emptied by calling following command: -``` -Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @() -``` +The array of `AllowedTrialTenantDomains` can be emptied by running the following command: `Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @()`. ### -------------------------- Example 14 -------------------------- ``` From 8890b05340887f34ab11c4787f6c271cfa79ae6c Mon Sep 17 00:00:00 2001 From: Krammer Liu <99905184+krammerliu@users.noreply.github.com> Date: Mon, 24 Feb 2025 15:19:08 -0800 Subject: [PATCH 4/6] Update Set-CsExternalAccessPolicy.md Fix a parameter description bug --- teams/teams-ps/teams/Set-CsExternalAccessPolicy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ] From 45d54126497e68561e6e5a80c38be572405765bb Mon Sep 17 00:00:00 2001 From: Krammer Liu <99905184+krammerliu@users.noreply.github.com> Date: Mon, 24 Feb 2025 15:27:51 -0800 Subject: [PATCH 5/6] Update New-CsExternalAccessPolicy.md fix a description bug --- teams/teams-ps/teams/New-CsExternalAccessPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] From 0e3cacd54256d1a8a4e82555cd90cdf2c9abfe36 Mon Sep 17 00:00:00 2001 From: James Cadd Date: Mon, 24 Feb 2025 16:25:29 -0800 Subject: [PATCH 6/6] Removing preview banner --- teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md | 2 -- 1 file changed, 2 deletions(-) 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