Sharepoint 2013 PSRemoting error

Posted on 2014-02-24
Medium Priority
Last Modified: 2014-02-25
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.
Question by:Nimateks
1 Comment

Accepted Solution

Nimateks earned 0 total points
ID: 39885594
After resetting PSRemoting configuration on all involved servers and reconfiguring PSRemoting, issue was resolved.

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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.

Join & Write a Comment

Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
The PowerShell Core 6.0 of .NET release is just the beginning. The upcoming PowerShell Core 6.1 would have artificial intelligence and internet of things capabilities. So many things to look forward to in the upcoming release.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question