I was trying to use your module and it seems I fail to authenticate with credentials via ADFS. Is it coded in because it's unclear?
And -Debug switches do not get much out.
PS C:\Windows\system32> Get-ServiceNowUser -Credential $cred2 -ServiceNowURL OBFUSCATEDl.service-now.com -Verbose -Debug
VERBOSE: Testing url: OBFUSCATED.service-now.com
VERBOSE: GET
https://OBFUSCATED.service-now.com/api/now/v1/table/sys_user?sysparm_display_value=true&sysparm_query=ORDERBYDESCname&s
ysparm_limit=10 with 0-byte payload
Invoke-RestMethod : The remote server returned an error: (401) Unauthorized.
At C:\Program Files\WindowsPowerShell\Modules\servicenow\1.8.0\Public\Get-ServiceNowTable.ps1:132 char:16
You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\servicenow\1.8.0\Public\Get-ServiceNowUser.ps1:90 char:34
Hello,
I was trying to use your module and it seems I fail to authenticate with credentials via ADFS. Is it coded in because it's unclear? And -Debug switches do not get much out.
It is even more complicated in my case because the company I work for offers only complicated options in the ADFS. That is PKI, SMS or OTP.