New-CsEdgeDomainPattern
Used to specify a ___domain that will be added or removed from the set of domains enabled for federation or the set of domains disabled for federation. You must use the New-CsEdgeDomainPattern cmdlet when modifying the allowed or blocked ___domain lists. String values (such as "fabrikam.com") cannot be directly passed to the cmdlets used to manage either of these lists.
Syntax
New-CsEdgeDomainPattern
-Domain <String>
[<CommonParameters>]
Description
Federation is a service that enables users to exchange IM and presence information with users from other domains. With Skype for Business Online, administrators can use the federation configuration settings to govern:
Whether or not users can communicate with people from other domains and, if so, which domains they are allowed to communicate with.
Whether or not users can communicate with people who have accounts on public IM and presence providers such as Windows Live, AOL, and Yahoo.
Federation is managed, in part, by using allowed ___domain and blocked ___domain lists. The allowed ___domain list specifies the domains that users are allowed to communicate with; the blocked ___domain list specifies the domains that users are not allowed to communicate with. By default, users can communicate with any ___domain that does not appear on the blocked list. However, administrators can modify this default setting and limit communication to domains that are on the allowed domains list.
Skype for Business Online does not allow you to directly modify the allowed list or the blocked list; for example, you cannot use a command similar to this one, which passes a string value representing a ___domain name to the blocked domains list:
Set-CsTenantFederationConfiguration -BlockedDomains "fabrikam.com"
Instead, you must create a ___domain object by using the New-CsEdgeDomainPattern cmdlet, store that ___domain object in a variable (in this example, $x), then pass the variable name to the blocked domains list:
$x = New-CsEdgeDomainPattern -Domain "fabrikam.com"
Set-CsTenantFederationConfiguration -BlockedDomains $x
Examples
-------------------------- Example 1 --------------------------
$x = New-CsEdgeDomainPattern -Domain "fabrikam.com"
Set-CsTenantFederationConfiguration -BlockedDomains $x
Example 1 demonstrates how you can assign a single ___domain to the blocked domains list for a specified tenant. To do this, the first command in the example creates a ___domain object for the ___domain fabrikam.com; this is done by calling the New-CsEdgeDomainPattern cmdlet and by saving the resulting ___domain object in a variable named $x. The second command then uses the Set-CsTenantFederationConfiguration cmdlet and the BlockedDomains parameter to configure fabrikam.com as the only ___domain blocked by the current tenant.
Parameters
-Domain
Fully qualified ___domain name of the ___domain to be added to the allow list. For example:
-Domain "fabrikam.com"
Note that you cannot use wildcards when specifying a ___domain name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
Inputs
Input types
None. The New-CsEdgeDomainPattern cmdlet does not accept pipelined input.
Outputs
Output types
The New-CsEdgeDomainPattern cmdlet creates new instances of the Microsoft.Rtc.Management.WritableConfig.Settings.Edge.DomainPattern object.