<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to get New-TPPToken to work with integrated auth in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/unable-to-get-new-tpptoken-to-work-with-integrated-auth/m-p/1419337#M460</link>
    <description>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".</description>
    <pubDate>Thu, 25 Aug 2022 18:07:58 GMT</pubDate>
    <dc:creator>LChandler</dc:creator>
    <dc:date>2022-08-25T18:07:58Z</dc:date>
    <item>
      <title>Unable to get New-TPPToken to work with integrated auth</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/unable-to-get-new-tpptoken-to-work-with-integrated-auth/m-p/1419337#M460</link>
      <description>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".</description>
      <pubDate>Thu, 25 Aug 2022 18:07:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/unable-to-get-new-tpptoken-to-work-with-integrated-auth/m-p/1419337#M460</guid>
      <dc:creator>LChandler</dc:creator>
      <dc:date>2022-08-25T18:07:58Z</dc:date>
    </item>
  </channel>
</rss>

