How to: Check from which SharePoint farm Service Application is Consumed

I came across a situation where in there were multiple SharePoint farms which had their own User Profile service application and there was a farm which was consuming User Profile Application from another farm and it was not documented from which farm it is consuming. 

For some troubleshooting purpose I wanted to find out from which farm the User Profile application is consumed, I didn't find any easy way from SharePoint Central Administration. 

So finally I thought Powershell should be helpful here. I used below cmdlets to find out the server farm from where UPA was consumed:

1. Get-SPServiceApplicationProxy | select TypeName, ID | Format-Table -AutoSize

2. Copy GUID of User Profile Application Proxy

3. After you have ID for the User Profile Application Connection Proxy, run below cmdlet:

    $upa = Get-SPServiceApplicationProxy -Identity "Paste ID of Connection Proxy copied"

4. $upa | select ServiceEndPointURI | Format-List

This above cmdlet will have URL of publishing farm with server name as below:

https://servername:port/topology/topology.svc

This it will confirm that the current farm is consuming UPA from the server listed in output of above cmdlet. 

:)


Comments

Popular posts from this blog

New-OfficeWebAppsFarm: Office Web Apps was unable to find the specified certificate

SharePoint 2013 - 'Sorry, Apps are turned off' error

Unable to see all fields for Document Set properties in SharePoint site