You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
194
+
195
+
The array of `AllowedTrialTenantDomains` can be emptied by running the following command: `Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @()`.
196
+
197
+
### -------------------------- Example 14 --------------------------
Example 13 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object.
205
+
Example 14 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object.
197
206
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.
198
207
When this command completes, the domains in the list will be added to any domains already on the Allowed Trial Tenant Domains list.
199
208
200
-
### -------------------------- Example 14 --------------------------
209
+
### -------------------------- Example 15 --------------------------
Example 14 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object.
217
+
Example 15 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object.
209
218
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.
210
219
When this command completes, the domains in the list will be removed from the Allowed Trial Tenant Domains list.
211
220
212
-
### -------------------------- Example 15 -------------------------
221
+
### -------------------------- Example 16 -------------------------
0 commit comments