Unable to delete onboarding rule - 404 not found

Unable to delete onboarding rule - 404 not found

85
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:02 PM


Symptom


When attempting to delete an onboarding rule within the PVWA you receive the following error message:
Delete onboarding rule
404
Not Found
 
After this, the onboarding rule doesn't get deleted and remains visible within the PVWA.
 
HTTP 404.6 error (VERB_DENIED) can be seen within the IIS log:
2018-10-11 13:37:42 W3SVC1 XXXXX X.X.X.X DELETE /PasswordVault/api/AutomaticOnboardingRules/3 - 443 - X.X.X.X HTTP/1.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.170+Safari/537.36 mobileState=Desktop;+CA33333=;+CA11111=xxxxxx;+CA22222=04A346E926EAF67A;+CA55555=saml;+6a5a355a-0547-40ce-9770-fc22d1f3bbea=xxxxxxx;+xtvrn=$530618$;+xtan=-;+xtant=1;+dtSa=-;+dtPC=-;+dtLatC=1;+ASP.NET_SessionId=xxx;+dtCookie=xxxx|d29ybGR3aWRlLmFjY29yLm5ldHwx;+ReadyForDownload=true;+__AntiXsrfToken=xxx https://X.X.X.X/PasswordVault/v10/OnboardingRules XXXX 404 6 0 1797 1272 0 –
 
When opening developer tools in either IE or Chrome you will see a 404 (Not Found) error message within the console tab.


Environment


10.10;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Discovery

Cause


This issue is occurring due to the DELETE verb being denied by the IIS Server, in this case the PVWA site.
Further information can be read here about the HTTP 404.6 error (VERB_DENIED):
https://support.microsoft.com/en-us/help/942046/error-message-when-you-visit-a-web-site-that-is-hosted-on-iis-7-0-http



Resolution


Connect to the PVWA Server directly and edit the applicationHost.config file, which is located here - C:\Windows\System32\inetsrv\config:

1) Find the line - <verbs allowUnlisted="false" applyToWebDAV="true">

2) Edit this to be "true" instead:
<verbs allowUnlisted="true" applyToWebDAV="true">

3) Perform an IISRESET on the PVWA Server

A second option would be to add the allowed Verbs in IIS Manager. Expand Sites > Default Web Site on the left-hand side. Select PasswordVault. Select Request Filtering in the middle section and then select the HTTP Verbs tab. On the right click Allow Verb and enter the verb (DELETE) you wish to allow. Press OK.

After applying this you will now be able to delete onboarding rules through the PVWA.



Additional Information


Details

When attempting to delete an onboarding rule within the PVWA you receive the following error message:
Delete onboarding rule
404
Not Found
 
After this, the onboarding rule doesn't get deleted and remains visible within the PVWA.
 
HTTP 404.6 error (VERB_DENIED) can be seen within the IIS log:
2018-10-11 13:37:42 W3SVC1 XXXXX X.X.X.X DELETE /PasswordVault/api/AutomaticOnboardingRules/3 - 443 - X.X.X.X HTTP/1.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.170+Safari/537.36 mobileState=Desktop;+CA33333=;+CA11111=xxxxxx;+CA22222=04A346E926EAF67A;+CA55555=saml;+6a5a355a-0547-40ce-9770-fc22d1f3bbea=xxxxxxx;+xtvrn=$530618$;+xtan=-;+xtant=1;+dtSa=-;+dtPC=-;+dtLatC=1;+ASP.NET_SessionId=xxx;+dtCookie=xxxx|d29ybGR3aWRlLmFjY29yLm5ldHwx;+ReadyForDownload=true;+__AntiXsrfToken=xxx https://X.X.X.X/PasswordVault/v10/OnboardingRules XXXX 404 6 0 1797 1272 0 –
 
When opening developer tools in either IE or Chrome you will see a 404 (Not Found) error message within the console tab.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001axZCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail