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
359 stars 170 forks source link

BasicAuth fails when authentication profiles are active on ServiceNow #249

Closed gdbarron closed 1 year ago

gdbarron commented 1 year ago

Fixes #248 by replacing -Credential with the calculated header. This should work in the case where authentication profiles are used or not.