Setting up access to SharePoint Management Shell
When listing SharePoint managed accounts, service accounts and servers in a SharePoint farm, access to SharePoint Management Shell is required. The following steps describe how to set up access to SharePoint Management Shell.
On the SharePoint server:
Add the SharePoint target system administrator into following local user groups by using server manager:
Remote Desktop Users
WinRMRemoteWMIUsers__
WSS_ADMIN_WPG
Note
Local group WinRMRemoteWMIUsers__ is not installed by default in Windows later versions, such as Windows 2016. It can be added by using command:
net localgroup /add WinRMRemoteWMIUsers__
Launch the SharePoint Management Shell as an Administrator
Execute the following command to enable Windows Remote Management (WinRM):
Enable-PSRemoting -Force
Execute the following command to enable Credential Security Support Provider (CredSSP) authentication on the SharePoint server:
Enable-WSManCredSSP -Role Server
Execute the following command to grant the target system administrator the SharePoint_Shell_Access role:
Add-SPShellAdmin -UserName Domain\Username
Replace the Domain\Username with the target system administrator.
Execute the following commands to grant the target system administrator access to SharePoint web application:
$webApp = Get-SPWebApplication -Identity "SharePoint site URL"
$webApp.GrantAccessToProcessIdentity("Domain\Username")
Replace "SharePoint site URL" with your site’s URL.
Replace the Domain\Username with the target system administrator.
The following steps describe how to configure the client computer where the connector(agtshrpt
) is installed.
If the connector(
agtshrpt
) is installed on Bravura Security Fabric server:
Launch Windows PowerShell as an Administrator.
Execute the following command to enable Credential Security Support Provider (CredSSP) authentication:
Enable-WSManCredSSP -Role client -DelegateComputer "<SharePointServerName>"
If the connector(
agtshrpt
) is installed on the SharePoint server:
Install the Proxy Service (
psproxy
) on the SharePoint server by using a domain administrator account as the proxy service account.Install Connector Pack which should match the setup of Bravura Security Fabric server Connector Pack.
Launch SharePoint Management Shell.
Execute the following command to grant the proxy service account SharePoint_Shell_Access role:
Add-SPShellAdmin -UserName "proxy service account"