Unable to connect to the specified address. Verify the URL you entered and contact the service administrator for more details.

When you are trying to publish the service application in SharePoint 2010 across farm levels, you may encounter the following error “Unable to connect to the specified address. Verify the URL you entered and contact the service administrator for more details.” in the consuming farm when you are trying to connect to the published service application by entering the published URL.

 

Error: “Unable to connect to the specified address. Verify the URL you entered and contact the service administrator for more details.”

How to resolve this:

On the consumer farm, run the following command to get the id of the consumer farm:

(Get-SPFarm).Id

Copy the Id output from this command, and run the following command on the publisher farm:

$security = Get-SPTopologyServiceApplication | Get-SPServiceApplicationSecurity

$claimProvider = (Get-SPClaimProvider System).ClaimProvider

$principal = New-SPClaimsPrincipal -ClaimType "http://schemas.microsoft.com/sharepoint/2009/08/claims/farmid" -ClaimProvider $claimProvider -ClaimValue <farmid from previous command>

Grant-SPObjectSecurity -Identity $security -Principal $principal -Rights "Full Control"

Get-SPTopologyServiceApplication | Set-SPServiceApplicationSecurity -ObjectSecurity $security 

Ebook Download
View all
Learn
View all