Orchestrator Web Service
I'm trying to set it up so that users can trigger runbooks by talking to the webservice. Rather than having activities on SR's etc.
I've got it working interactively via powershell using some code from the net. But that relies on using a "Get-Credential" to authenticate by setting the Credentials in the URL.
I've tried to run the same code with a Basic Authentication header instead, but it appears this is not supported by the web service as I just get a 401 - Unauthorized: Access is denied due to invalid credentials. error.
I get this in the response too: WWW-Authenticate=[Negotiate, NTLM], so I guess that the method I need to use somehow.
I'm new to xml etc. so not sure if it's something obvious!
Answers
-UseDefaultCredentials