Snow-Shell / servicenow-powershell

PowerShell module to automate ServiceNow service and asset management. This module can be used standalone, with Azure Automation, or Docker.
Apache License 2.0
361 stars 171 forks source link

URL value for set-servicenowauth #2

Closed qb411 closed 6 years ago

qb411 commented 8 years ago

You might want to provide some more clarity in the msg response. I initially assumed you wanted the full URL "https://xxxxx.service-now.com/" and ultimately it was just the DNS. Not trying to nit-pick, but I know I would have found it useful. I parsed through the modules to find the use of the $url variable and figured it out, so its not anything major. Hopefully this is useful feedback.

I love the module btw, its really useful!

aurbjo commented 7 years ago

I actually did the same thing, or just simply provide an example on the readme page for how to use the URL parameter for the Set-ServiceNowAuth.

Great module! Just started looking at it as i'm doing a integration between SCOM and servicenow, i think you just saved me many many hours of work 👍

ktamaral commented 6 years ago

Is there a way to get this working with an instance that has SAML Single Sign-On enabled? We are using the MultiProvider SSO plugin and have an integration with SAML for logins. We had this working previously before we enabled SSO. However, now that we enabled SSO we are getting 401 Unauthorized when attempting to login now. We attempted to use the 'side_door' login page that ServiceNow provides for bypassing the SSO to login to a local account but that still doesn't seem to work. "Set-ServiceNowAuth -url example.service-now.com/side_door.do"