Solved

Sharepoint 2013 PSRemoting error

Posted on 2014-02-24
1
627 Views
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.
0
Comment
Question by:Nimateks
1 Comment
 

Accepted Solution

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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now