Solved

Sharepoint 2013 PSRemoting error

Posted on 2014-02-24
1
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Powershell have you tied up in knots?

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.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
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…
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…

726 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