Documents‎ > ‎2. Using‎ > ‎

Host-Named Site Collection (HNSC) Configuration

Note: This feature is not completely tested so make sure you have evaluated it with the trial version to see if it works in your environment or not.

You can configure HNSC for SharePoint Live Authentication via SharePoint PowerShell script.
After configuring Shetab Live Authentication on the root site of your SharePoint Web Application, run the following SharePoint PowerShell script:

$realm = "​"
$uri = new-object System.Uri("​​")
= Get-SPTrustedIdentityTokenIssuer ​("ShetabLiveAuth​"​)​
.​​ProviderRealms.Add($uri, $realm)

Note: You should always set "$uri" to Root Site Collection, which is used to apply the modifications on SharePoint Objects.