PVWA: Failed to grant administrative access
121
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 13:02 PM
Symptom
User has enabled Just in Time Access from PVWA-->Platform Management-->Target Platform-->Automatic Password Management-->Additional Policy Settings-->AllowDomainUserAdHocAccess=Yes.
When he clicked on "Get Access" he received "Failed to grant administrative access" error message
User has set the parameter. AllowDomainUserAdHocAccess = yes
Below error message was found in WebSession log
[26/07/2019 | 12:26:12.782768] | {pid= 2800} | {tid= 480} | :: | Casos Session Request[RunBLService] ended.
[26/07/2019 | 12:26:12.784852] | {pid= 2800} | {tid= 480} | :: | PASWS223E The operation reached its timeout.
[26/07/2019 | 12:26:12.792420] | {pid= 2800} | {tid= 480} | :: | PASWS002I Ending method Accounts::GrantAccess
[26/07/2019 | 12:26:12.806965] | {pid= 2800} | {tid= 480} | :: | PASWS001I Starting method GeneralExceptionAttribute::OnException
[26/07/2019 | 12:26:12.811447] | {pid= 2800} | {tid= 480} | :: | PASWS001E Error occurred: PASWS223E The operation reached its timeout.
Environment
10.6;10.7;10.8;10.9 Component: Password Vault Web Access 10.9 Functional Area: Ad hoc Grant access , Windows server 2012 R2
Cause
On CPM server , the CACPMScanner.exe.config was not configured correctly. Please refer to resolution section for the details
Resolution
1 From CPM server , open CACPMScanner.exe.config
(default location C:\Program Files (x86)\CyberArk\Password Manager\Scanner)
2 Between
<appSettings>....</appSettings> tags , please look for below 2 lines. If they are not there , please add them in.
<add key="IsAdHocEnabled" value="false" />
<add key="AdHocIntervalInSec" value="1" />
3 update IsAdHocEnabled set to true and save the change
4 Restart CPM scanner from Services