Unable to get New-TPPToken to work with integrated auth

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Unable to get New-TPPToken to work with integrated auth

L1 Bithead
I have been able to get VenafiPS to work, but Im havingan issue possibly with one of the options with the New-TPPToken function - when using it with Integrated auth it is failing internally when it hits the Invoke-WebRequest method (inside the Invoke-VenafiRestMethod.ps1) - I've debugged it to that point and it fails there with the following error:{"Error":"Exception System.NullReferenceException. Message: Object reference not set to an instance of an object."}The @params hashtable has empty values for Headers and Body which may be causing the problem, I cannot really tell.But I don't think this is an error in my code - as the call to New-TPPToken is very simple and looks like this:New-TPPToken -Authserver $baseurl -Scope @{'certificate'='delete,manage,discover,revoke';'configuration'='manage';'restricted'='manage'} -ClientId "myClientID".
0 REPLIES 0
  • 51 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!