Venafi / VenafiPS

Powershell module to fully automate your Venafi TLS Protect Datacenter and Cloud platforms!
https://venafips.readthedocs.io/
Apache License 2.0
18 stars 7 forks source link

New Venafi Session Not Supporting Windows Integrated Auth #162

Closed albrigjl closed 1 year ago

albrigjl commented 2 years ago

Environment

Operating System: Win Server 2016
VenafiPS version: 5.2.0
PowerShell version: 5.1.14393.4467
TPP version (if applicable): 22.2.2

Steps to reproduce

New-VenafiSession -Server $Vtp_host -ClientId $client_ID -Scope @{'certificate'='manage';'configuration'='manage'} -verbose

VERBOSE: Parameter set: TokenIntegrated VERBOSE: Performing the operation "New access token" on target "https://vedadmindev.domain.net". VERBOSE: {"UseDefaultCredentials":true,"ContentType":"application/json","UseBasicParsing":true,"Method":"Post","Uri":"https://vedadmindev.domain.net/vedauth/authorize/integrated","Headers ":null,"Body":"{\"client_id\":\"Custom_Reporting\",\"scope\":\"configuration:manage;certificate:manage\"}"} VERBOSE: Response status code 500

Expected behavior

Windows integrated auth works with the module

Actual behavior

See error above

Screenshots