Authentication Provider Mapping PowerShell Command in Extranet Collaboration Manager for SharePoint 2016
Use this command to add a new Extranet Authentication Provider Mapping.
The syntax for this command is:
Add-ExCMExtranetAuthenticationProviderMapping
-IPAddressMask <IP Address Mask>
-AuthenticationProviderName <Name of a claims authentication provider>
Parameters
|
Parameter |
Value |
Required |
Description |
|
IPAddressMask |
IP address range which is mapped to the specified authentication provider. This value can include a subnet mask (172.16.0.1/16) or can be in the form of a wildcard expression (192.168.*.*) Examples
|
Yes |
IP address mask |
|
AuthenticationProviderName |
DisplayName or the ClaimProviderName of the claims authentication provider. Examples Windows Authentication AD |
Yes |
Claims authentication provider |
Examples
|
Add Authentication Provider Mapping |
|
Add-ExCMExtranetAuthenticationProviderMapping -IPAddressMask 172.16.0.1/24 -AuthenticationProviderName AD Add-ExCMExtranetAuthenticationProviderMapping -IPAddressMask 172.17.0.1/16 -AuthenticationProviderName AD Add-ExCMExtranetAuthenticationProviderMapping -IPAddressMask 192.168.*.* -AuthenticationProviderName AD |
|
|
You can view your claims authentication providers for the default zone by opening the SharePoint Management Shell and running the command below (Replace the [server_url] token with the Web Application URL). |
|
Get Authentication Providers |
|
Get-SPWebApplication -Identity [server_url] | % {$_.IisSettings[[Microsoft.SharePoint.Administration.SPUrlZone]::Default] } | % { $_.ClaimsAuthenticationProviders } |
Note: You can remove a mapping by using the "Remove-ExCMExtranetAuthenticationProviderMapping" command.
©2019 PremierPoint Solutions. All Rights Reserved.