Tuesday, September 10, 2013

Proxy Groups in SharePoint 2013

 

A Proxy Group is a mechanism which defines the relationship between a web application and the proxy (or connection) for a service application. This proxy enables the web applications associated with the Proxy Group to consume services (Managed Metadata, Search, User Profiles, etc.) from the service application.

By default when you install a new Farm, you will only have one Proxy Group and that group is called “ default”.

Whenever you create a new Service Application in Central Administration, this new service application will automatically be added to this “ Default Proxy Group”. When you create a new service application via PowerShell, the new service application will NOT automatically be assigned to the Default or any other Proxy group.

To see the available Proxy groups in your SharePoint 2013 Farm, you can run the following command in the SharePoint 2013 management shell (run as administrator)

Get‐SPServiceApplicationProxyGroup

 

And if you want to see them with all service application proxies

Get‐SPServiceApplicationProxyGroup | Format‐Table ‐wrap

 

To create a new proxy group and define your own name, use the following command;

New-SPServiceApplicationProxyGroup -Name "new name of your proxy group"

A Service Application Proxy can be associated with multiple Proxy Groups using PowerShell. Also, a Proxy Group is NOT required to host each and every available Service Application available within the farm.


In order to associate a Service Application to a proxy via PowerShell . Use Get-SPServiceApplicationProxy
with a where clause to obtain the identity of the service application.


$SAProxy = Get‐SPServiceApplicationProxy | ? {$_.DisplayName ‐eq "Name of Service Application"}


You can then use this variable in the Add-SPServiceApplicationProxyGroupMember cmdlet to add the Service Application's proxy to the proxy group you want to


Add‐SPServiceApplicationProxyGroupMember "name of proxy group" ‐Member $SAProxy

 

2 comments:

  1. What a nice blog...I am really very impressed to read this..Thanks to admin for posting this nice blog....WOW!!!!!
    FileCrop UK proxy

    ReplyDelete
  2. I truly like to reading your post. Thank you so much for taking the time to share such a nice information. I'll definitely add this great post in my article section.
    Read More: Best Blockchain Development Company in jaipur
    Best iPad App Development Company in jaipur

    ReplyDelete