Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Sharepoint 2013 PSRemoting error

Posted on 2014-02-24
1
Medium Priority
?
675 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
ID: 39885594
After resetting PSRemoting configuration on all involved servers and reconfiguring PSRemoting, issue was resolved.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

578 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