![]() ![]() To remove the domain from the domain blocked list, perform the following steps: $x = New-CsEdgeDomainPattern '''' Set-CsTenantFederationConfiguration –BlockedDomains can use the Get-CsTenantFederationConfiguration cmdlet to view the list of blocked domains by issuing the following command: Get-CsTenantFederationConfiguration | Select-Object -ExpandProperty BlockedDomains For example, to add to the list of blocked domains, issue the following command: $x = New-CsEdgeDomainPattern '''' To add a domain to the blocked list, use the BlockedDomains parameter. | Select-Object AllowedDomain Manage blocked domain list You can use the Get-CsTenantFederationConfiguration cmdlet to view the list of allowed domains by issuing the following command: Get-CsTenantFederationConfiguration | Select-Object -ExpandProperty AllowedDomains ![]() The following command removes all domains from the current allow list: $newAllowList = New-CsEdgeAllowList -AllowedDomain $Null Once you’ve pruned all of the domains that you want to remove, you can then assign the list using the following command: Set-CsTenantFederationConfiguration -AllowedDomains $x You can repeat the process to remove other domains from the list. So if you wanted to remove from the list, you would issue the command: $x.AllowedDomain.RemoveAt(2) Once you’ve determined which domain you want to remove, you issue the command $x.AllowedDomain.RemoveAt(Y), where Y is the number of the domain you want to remove. The domain would be number 1, and would be 0. For example, if you had the following list output when you issued the variable as a command: You do this by issuing the variable as a command and then counting the number of lines until the domain that you want to remove, with the first line as zero. ![]() You then need to determine the number of the domain that you want to remove. First you need to place the current list of allowed domains in a variable: $x = (Get-CsTenantFederationConfiguration).AllowedDomains To remove a domain from the allowed list, you need to use a set of commands. Set-CsTenantFederationConfiguration -AllowedDomains $newAllowList $newAllowList = New-CsEdgeAllowList -AllowedDomain $x,$y The following Windows PowerShell code allows users to only communicate with users in the and domains. Get-CsTenantFederationConfiguration You can use this cmdlet to view information about the allowed domains and the blocked domains. New-CsEdgeDomainPattern You use this cmdlet to modify the list of allowed or blocked domains because string values cannot be passed directly to the cmdlets used to manage the list. This cmdlet must be used in conjunction with the New-CsEdgeDomainPattern and Set-CsTenantFederationConfiguration cmdlets. New-CsEdgeAllowList Use this cmdlet to configure the domains with which Skype for Business Online users can communicate. New-CsEdgeAllowAllKnownDomains This cmdlet allows Skype for Business Online users to communicate with any domain, except those on the block list. You can also use a set of Skype for Business Online specific Windows PowerShell cmdlets to manage external communication settings. FIGURE 4-55 Skype for Business admin center ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |