How to connect to SRM 6.1 using powershell and WSDL/SOAP

By | February 14, 2017

I hit some issues finding the addfoldermapping function through the api exposed with connect-srmserver cmdlet, so I decided to use WSDL based on this post.

The main problems I encountered were that the ports changed and an issue I described in my previous post about logging into remote sites in a shared-sso domain. If you have your SRM sites in the same SSO domain, you may need to use my workaround from the previous post. I also tried to acquire SAML tokens directly, but the new-webserviceproxy doesn’t have the ability to edit SOAP headers to inject the security headers that are required.

 

 

2 thoughts on “How to connect to SRM 6.1 using powershell and WSDL/SOAP

  1. Pingback: How to connect to SRM 6.1 using powershell and WSDL/SOAP - How to Code .NET

  2. Pingback: Site Recovery Manger 6.1 addfoldermapping API and matching folders across sites | Virtual Chris

Leave a Reply

Your email address will not be published. Required fields are marked *