<?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 Venafi SaaS - Service Account - Custom API - Leveraging Azure for JWT and swapping that, for an access token. in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/venafi-saas-service-account-custom-api-leveraging-azure-for-jwt/m-p/1409136#M246</link>
    <description>&lt;P&gt;I'm having difficulty swapping the JWT from Azure, for an access token in Venafi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application Registration completed in Azure with token version set to 2. And application ID URI set to &lt;A alt="https://api.venafi.cloud" href="https://api.venafi.cloud" target="_blank"&gt;https://api.venafi.cloud&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;payload of JWT is configured as follows:&lt;/P&gt;&lt;P&gt;aud = "&lt;A alt="https://login.microsoftonline.com/" href="https://login.microsoftonline.com/" target="_blank"&gt;https://login.microsoftonline.com/&lt;/A&gt;&amp;lt;my tenant id&amp;gt;/oauth2/v2.0/token"&lt;/P&gt;&lt;P&gt;iss = &amp;lt;client id of azure application&amp;gt;&lt;/P&gt;&lt;P&gt;sub = &amp;lt;client id of azure application&amp;gt;&lt;/P&gt;&lt;P&gt;jti = &amp;lt;randomly generated guid&amp;gt;&lt;/P&gt;&lt;P&gt;nbf = &amp;lt;current time&amp;gt;&lt;/P&gt;&lt;P&gt;ecp = &amp;lt;10 minutes from current time&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully get a JWT from Azure specifying a scope of: &lt;A alt="https://api.venafi.cloud/.default" href="https://api.venafi.cloud/.default" target="_blank"&gt;https://api.venafi.cloud/.default&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the life of me, I can't exchange for a venafi access token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas? When I try to exchange the token, what should be in the body?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2026 17:14:34 GMT</pubDate>
    <dc:creator>JBrown_nIAE</dc:creator>
    <dc:date>2026-08-17T17:14:34Z</dc:date>
    <item>
      <title>Venafi SaaS - Service Account - Custom API - Leveraging Azure for JWT and swapping that, for an access token.</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/venafi-saas-service-account-custom-api-leveraging-azure-for-jwt/m-p/1409136#M246</link>
      <description>&lt;P&gt;I'm having difficulty swapping the JWT from Azure, for an access token in Venafi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application Registration completed in Azure with token version set to 2. And application ID URI set to &lt;A alt="https://api.venafi.cloud" href="https://api.venafi.cloud" target="_blank"&gt;https://api.venafi.cloud&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;payload of JWT is configured as follows:&lt;/P&gt;&lt;P&gt;aud = "&lt;A alt="https://login.microsoftonline.com/" href="https://login.microsoftonline.com/" target="_blank"&gt;https://login.microsoftonline.com/&lt;/A&gt;&amp;lt;my tenant id&amp;gt;/oauth2/v2.0/token"&lt;/P&gt;&lt;P&gt;iss = &amp;lt;client id of azure application&amp;gt;&lt;/P&gt;&lt;P&gt;sub = &amp;lt;client id of azure application&amp;gt;&lt;/P&gt;&lt;P&gt;jti = &amp;lt;randomly generated guid&amp;gt;&lt;/P&gt;&lt;P&gt;nbf = &amp;lt;current time&amp;gt;&lt;/P&gt;&lt;P&gt;ecp = &amp;lt;10 minutes from current time&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully get a JWT from Azure specifying a scope of: &lt;A alt="https://api.venafi.cloud/.default" href="https://api.venafi.cloud/.default" target="_blank"&gt;https://api.venafi.cloud/.default&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the life of me, I can't exchange for a venafi access token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas? When I try to exchange the token, what should be in the body?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2026 17:14:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/venafi-saas-service-account-custom-api-leveraging-azure-for-jwt/m-p/1409136#M246</guid>
      <dc:creator>JBrown_nIAE</dc:creator>
      <dc:date>2026-08-17T17:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Venafi SaaS - Service Account - Custom API - Leveraging Azure for JWT and swapping that, for an access token.</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/venafi-saas-service-account-custom-api-leveraging-azure-for-jwt/m-p/1409137#M247</link>
      <description>&lt;P&gt;Hi @Jeffery Brown​&amp;nbsp;Custom API Integration service accounts, it sounds like there may be a misunderstanding about which JWT you're exchanging and what claims Venafi expects&lt;/P&gt;&lt;P&gt;&lt;A alt="https://docs.cyberark.com/mis-saas/vcs-platform/serviceaccounts/c-about-custom-api-integration-sa/" href="https://docs.cyberark.com/mis-saas/vcs-platform/serviceaccounts/c-about-custom-api-integration-sa/" target="_blank"&gt;Overview: Custom API Integration service accounts - Machine Identity Security Docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 05:17:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/venafi-saas-service-account-custom-api-leveraging-azure-for-jwt/m-p/1409137#M247</guid>
      <dc:creator>P.Yadav785787</dc:creator>
      <dc:date>2026-09-10T05:17:35Z</dc:date>
    </item>
  </channel>
</rss>

