Creating custom service application proxy groups
In SharePoint 2010 every webapplication can be connected to the default service application connection group. It is also possible to use the custom group which allows you to choose which service applications need to be connected to the webapplication. In this post I will show how you can create a custom group, connect service applications to this group and how you connect you webapplication to your custom group.
So first let us see where we will find the connection group in Central Administration. Go to Central Admin and then to Manage Webapplications. Select a webapplication and select Service Connections
We see that this webapplication is connected to the “Default Proxy Group’
We can only change this to the custom value and choose each Service Application.
There is no place in the GUI where we can create our own group and connect Service Applications. So Powershell to the rescue.
In my example I am going to create a new group called “My Custom Service Group”. I will add the the Search Service Applications to the group
This is the script that I ran.
</code>
$groupName = 'My Custom Service Group'
Remove-SPServiceApplicationProxyGroup -Identity $groupName -Confirm:$false -ErrorAction SilentlyContinue
$newProxyGroup = New-SPServiceApplicationProxyGroup -name $groupName
Write-Host New Proxy Group: $groupName created -foregroundcolor cyan
$searchProxy = Get-SPServiceApplicationProxy | Where{$_.DisplayName.StartsWith("Search Service")}
Add-SPServiceApplicationProxyGroupMember -identity $newProxyGroup -member $searchProxy
Write-Host ServiceApplication proxy $searchProxy.DisplayName connected to proxy group $groupName -foregroundcolor cyan
<code>
Download script here
So now we see that out own group is shown






