Sharepoint 2013 PSRemoting error

I have a Sharepoint 2013 Foundation farm comprising two FE servers, running latest December 2013 CU. In my environment I also have a Citrix CloudPortal Services Manager (CPSM) 11.0.1 Web and a CPSM 11.0.1 Provisioning server. All servers running on Windows Server 2012 RTM standard, with Powershell 3.0 installed.
 
I have installed and configured the Sharepoint 2013 service on both Sharepoint 2013 servers and also imported the .package file in the CPSM servers. I have configured Sharepoint 2013 service account and Powershell remoting permissions as per the following edocs article: http://support.citrix.com/proddocs/topic/ccps-11/ccps-plan-sharepoint.html
 
When trying to setup a new farm from within the CPSM portal (Services --> Sharepoint 2013 --> Farm), I receive the following error:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Failed to connect to the SharePoint server using the PowerShell runspace pool "http://sharepointserver.domain.local:5985/" with the username "domain\csm_sp2013_svc". Please verify that the remoting credentials are correct and that a valid “PowerShell Remote URL” is configured under “Service Settings”. Please ensure that client remoting is enabled on the Web Server and Provisioning Engine Server. Remoting must be enabled on the SharePoint server and can be verified by logging on to the SharePoint server. Use gpedit.msc and look at the following policy: Computer Configuration ->Administrative Templates -> System -> Credentials Delegation -> Allow Delegating Fresh Credentials. Verify that it is enabled and configured with an SPN appropriate for the target computer. For example, for a target computer name \"myserver.domain.com\", the SPN can be one of the following: WSMAN/myserver.domain.com or WSMAN/*.domain.com Server Error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: CTX-Remote-Powershell: Failed to create the remote powershell runspace pool to 'http://sharepointserver.domain.local:5985/' with username 'domain\csm_sp2013_svc'. ---> System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server sharepointserver.domain.local failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult) at System.Management.Automation.RemoteRunspace.Open() at Citrix.Csm.SharePoint2013.Management.PowershellFactory.SetRunspace (RunspaceConnectionInfo connectionInfo) at Citrix.Csm.SharePoint2013.Management.PowershellFactory.Connect(FarmCredential farmCredentials) --- End of inner exception stack trace --- at Citrix.Csm.SharePoint2013.Management.PowershellFactory.Connect(FarmCredential farmCredentials) at Citrix.Csm.SharePoint2013.Management.PowershellFactory.Execute(FarmCredential credential, String script) at Citrix.Csm.SharePoint2013.Management.FarmConfiguration.GetManagedAccounts() --- End of inner exception stack trace ---
 
 

I have verified that PSRemoting/WinRM sessions using CredSSP authentication are successful from the Sharepoint 2013 server to the CPSM servers and vice versa.
Any ideas/suggestions on resolving the above error will be highly appreciated. Thank you in advance.
NimateksAsked:
Who is Participating?
 
NimateksConnect With a Mentor Author Commented:
After resetting PSRemoting configuration on all involved servers and reconfiguring PSRemoting, issue was resolved.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.