<?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 Re: I am getting error code &amp;quot;ITATS894E - An unhandled exception has occurred&amp;quot; during SAML authentication to PVWA with CyberArk Identity as Identity Provider in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337975#M33205</link>
    <description>&lt;P&gt;The problem is that you are being redirected to the ACS URL as an end user, which is an API endpoint and not an accessible page (see the /api/ in the URL in your browser).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Identity, if you uncheck 'Same as ACS URL', can you specify a redirect URL of "&amp;lt;PVWA&amp;gt;/PasswordVault/v10/logon/saml" ?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 19:43:21 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-04-12T19:43:21Z</dc:date>
    <item>
      <title>I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337974#M33204</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I was recently trying to allow saml authentication to pvwa using Cyberark Identity as a IdProvider. When i try to authenticate to pvwa using saml I am redirected to my portal's login page, but after authentication I go back to pvwa webpage and receive the "ITATS894E - An unhandled exception has occurred" error code. I did not find any helpfull information in pvwa's logs. When I try to access pvwa via Cyberark Identity host seems to be unreachable:&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI40XIAT.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88226i48B88741CFF43BC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI40XIAT.png" alt="Field_Content_versions_oct20__068Ht00000UI40XIAT.png" /&gt;&lt;/span&gt; It feels like a trivial task, but I got stuck and have no idea what might be missconfigured. Here are some more information about our infrasctructure:&lt;/P&gt;&lt;P&gt;PVWA version 12.2&lt;/P&gt;&lt;P&gt;Identity connector version 24.3.209&lt;/P&gt;&lt;P&gt;CyA Identity's "CyberArk Password Vault Web Access (PVWA)" app's trust settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI40hIAD.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88228iE161CCCD41B6BF38/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI40hIAD.png" alt="Field_Content_versions_oct20__068Ht00000UI40hIAD.png" /&gt;&lt;/span&gt;Permissions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI4L3IAL.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88230i44AE5D216534F8F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI4L3IAL.png" alt="Field_Content_versions_oct20__068Ht00000UI4L3IAL.png" /&gt;&lt;/span&gt;part of web.config (data in red frame was added, but I receive the same errors without this additional data):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI4NEIA1.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88232i3A994D626BD93EB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI4NEIA1.png" alt="Field_Content_versions_oct20__068Ht00000UI4NEIA1.png" /&gt;&lt;/span&gt;saml.config file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SAMLConfiguration xmlns="urn:componentspace:SAML:2.0:configuration"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;ServiceProvider Name="&lt;A alt="https://xyz/PasswordVault/auth/saml" href="https://xyz/PasswordVault/auth/saml" target="_blank"&gt;https://xyz/PasswordVault/auth/saml&lt;/A&gt;" Description="PasswordVault Service Provider" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;PartnerIdentityProviders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;lt;PartnerIdentityProvider Name="&lt;A alt="https://xyz.my.idaptive.app/" href="https://xyz.my.idaptive.app/" target="_blank"&gt;https://xyz.my.idaptive.app/&lt;/A&gt;&amp;lt;app key&amp;gt;" SingleSignOnServiceUrl="&lt;A alt="https://xyz.my.idaptive.app/applogin/appKey/" href="https://xyz.my.idaptive.app/applogin/appKey/" target="_blank"&gt;https://xyz.my.idaptive.app/applogin/appKey/&lt;/A&gt;&amp;lt;app key&amp;gt;/customerId/xyz"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;PartnerCertificates&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Certificate String="MII...Tg==" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/PartnerCertificates&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/PartnerIdentityProvider&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;/PartnerIdentityProviders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/SAMLConfiguration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i had a typo somewhere in saml.config file I was receiving PASWS035E - Authentication failure. Please contact your Administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pvwa configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI4SjIAL.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88234i4017920E7F22A53E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI4SjIAL.png" alt="Field_Content_versions_oct20__068Ht00000UI4SjIAL.png" /&gt;&lt;/span&gt;Access Restrictions: &lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UI4TSIA1.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88236i019DDECAEBF2C991/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UI4TSIA1.png" alt="Field_Content_versions_oct20__068Ht00000UI4TSIA1.png" /&gt;&lt;/span&gt;Cyberark.WebApplication log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[11/04/2024 | 15:22:08.962995] | {pid= 8188} | {tid=&amp;nbsp;&amp;nbsp;&amp;nbsp;4604} |&amp;nbsp;::&amp;nbsp;| ITATS894E An unhandled exception has occurred.&amp;nbsp;(Vault [CAMainVault] user [ksuchecki])&lt;/P&gt;&lt;P&gt;[11/04/2024 | 15:22:08.963095] | {pid= 8188} | {tid=&amp;nbsp;&amp;nbsp;&amp;nbsp;4604} |&amp;nbsp;::&amp;nbsp;| ITATS894E An unhandled exception has occurred.&amp;nbsp;(Vault [CAMainVault] user [ksuchecki])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did any of You face this issue or have any idea how to solve it?&lt;/P&gt;&lt;P&gt;I was using the following articles with guide from course on administration of cyberark identity for partners:&lt;/P&gt;&lt;P&gt;&lt;A alt="https://docs.cyberark.com/identity/Latest/en/Content/Applications/AppsWeb/CyberArk-PVWA.htm" href="https://docs.cyberark.com/identity/Latest/en/Content/Applications/AppsWeb/CyberArk-PVWA.htm" target="_blank"&gt;CyberArk Password Vault Web Access SAML Single Sign-On (SSO) | CyberArk Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://docs.cyberark.com/pam-self-hosted/12.2/en/Content/PAS%20INST/SAML-Authentication.htm" href="https://docs.cyberark.com/pam-self-hosted/12.2/en/Content/PAS%20INST/SAML-Authentication.htm" target="_blank"&gt;SAML authentication | CyberArk Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://cyberark.my.site.com/s/article/How-to-integrate-CyberArk-Identity-SAML-SSO-with-PVWA-versions-11-2-and-older" href="https://cyberark.my.site.com/s/article/How-to-integrate-CyberArk-Identity-SAML-SSO-with-PVWA-versions-11-2-and-older" target="_blank"&gt;How to integrate CyberArk Identity SAML SSO with PVWA versions 11.2 and older (site.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;guide mentioned above&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:33:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337974#M33204</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-11T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337975#M33205</link>
      <description>&lt;P&gt;The problem is that you are being redirected to the ACS URL as an end user, which is an API endpoint and not an accessible page (see the /api/ in the URL in your browser).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Identity, if you uncheck 'Same as ACS URL', can you specify a redirect URL of "&amp;lt;PVWA&amp;gt;/PasswordVault/v10/logon/saml" ?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 19:43:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337975#M33205</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-12T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337976#M33206</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I changed my configuration, but for some reason I still get redirected to "https://&amp;lt;pvwa&amp;gt;/PasswordVault/api/auth/saml/logon"...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UISoKIAX.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88304i4F9645F1A5F59E52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UISoKIAX.png" alt="Field_Content_versions_oct20__068Ht00000UISoKIAX.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UISoZIAX.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88306i62BB3762A8E442FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UISoZIAX.png" alt="Field_Content_versions_oct20__068Ht00000UISoZIAX.png" /&gt;&lt;/span&gt;Also tried configuring the url without "https://"(which should not matter) in this case. Just to be sure i also did iis reset on my pvwa serwer and restarted identity conector service. As expected when trying to authenticate to pvwa using saml the error code was the same as before ("An unhandled exception has occurred."). Thanks for Your reply and do You have any other ideas where the problem might be?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:59:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337976#M33206</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-19T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337977#M33207</link>
      <description>&lt;P&gt;What concerns me here is the 'can't reach this page' error. I believe your 'Access Restrictions' in the PVWA are too strict. Could you adjust the 'Access Restrictions' in PVWA to the same SSO URL you have configured in SAML.config?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either include the full URL with the app key and customer ID like: &lt;A alt="https://aac4235.my.idaptive.app/applogin/appKey/c22c4eb2-cece-414a-a2c7-eeb0d69afc0b/customerId/AAC4235" href="https://aac4235.my.idaptive.app/applogin/appKey/c22c4eb2-cece-414a-a2c7-eeb0d69afc0b/customerId/AAC4235" target="_blank"&gt;https://aac1234.my.idaptive.app/applogin/appKey/c22c4eb2-cece-414a-a2c7-eeb0d69afc0b/customerId/AAC&lt;/A&gt;1234 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or leave it at the base URL you have, add /* to the end, and set RegularExpression = Yes.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:11:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337977#M33207</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-19T15:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337978#M33208</link>
      <description>&lt;P&gt;Also, you may revert the change I suggested previously. I don't actually think that is fixing anything!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:12:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337978#M33208</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-19T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error code "ITATS894E - An unhandled exception has occurred" during SAML authentication to PVWA with CyberArk Identity as Identity Provider</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337979#M33209</link>
      <description>&lt;P&gt;As I came back to previous settings with "Same as ACS URL" box being checked, I modified Access Restriction in my Pvwa by&lt;/P&gt;&lt;P&gt;1) adding "/*" (https://xyz.my.idaptive.app/*) to BaseUrl and changing RegularExpression to yes - the outcome was the same&lt;/P&gt;&lt;P&gt;2) changing BaseUrl to https://xyz.my.idaptive.app/applogin/appKey/&amp;lt;key&amp;gt;/customerId/XYZ - the same value as "SingleSignOnUrl" in saml.config file. This time as i tried to connect to pvwa from Identity's interface the outcome was the same, but when I tried to authenticate to pvwa using saml method I was not redirected to authenticate to Identity, but received the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UIaTUIA1.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88326i94D00E2E9168D27F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UIaTUIA1.png" alt="Field_Content_versions_oct20__068Ht00000UIaTUIA1.png" /&gt;&lt;/span&gt;which (correct me if I'm wrong) might indicate, that the BaseUrl=https://xyz.my.idaptive.app or BaseURL=https://xyz.my.idaptive.app/* with RegularExpresions=Yes is the correct configuration.&lt;/P&gt;&lt;P&gt;Now I left BaseUrl as https://xyz.my.idaptive.app/* with RegularExpression=yes.&lt;/P&gt;&lt;P&gt;One again I went through whole configuration hoping there is going to be just some silly typo, but i found nothing.&lt;/P&gt;&lt;P&gt;I can access pvwa web page from the machine with identity connector, also turned off firewall on both machines for a while, but received the same errors, so (for now) it surely is not about some ports being closed. Also when pinging pvwa machine from conector's machine using dns name the address is mapped with name correctly.&lt;/P&gt;&lt;P&gt;My saml.config lacks all data in red frame- maybe I should add some lines? Different guides says different things (or there is nothing about modifying this particular file)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 16:08:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-code-quot-itats894e-an-unhandled-exception/m-p/1337979#M33209</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-23T16:08:59Z</dc:date>
    </item>
  </channel>
</rss>

