PVWA - Error "The element 'PasswordVaultConfiguration' has invalid element 'MobileApplication'" when trying to save Configuration Options page
Symptom
When trying to save a configuration in PVWA the following error occurs:
The Element 'passwordVaultConfiguration' has invalid child element 'MobileApplication', List of possible elements expected: Gateway. Audit filters, AccountUIPreferences, WebHelp,
usersCollections, ExternalComponents, AccountsFeed, MassageQueueConection, ExternalServices, MessageQueeConnection, ExternalService, PSMPADBridge,APIThorotting,SetupConfiguration,BulkOperations,ApplicationAssemblies',
Environment
12.2;14.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Cause
The issue might appear after PVWA is upgraded to 14.0. The mobile interface is no longer supported in 14.0; however, the mobile application configuration remains in the PVconfiguration.xml.
Resolution
- 'Retrieve and save as' the PVConfiguration.xml file from the PWVAConfig safe using the PrivateArk Client.
- Make a backup copy of the downloaded file.
- Edit the original file and remove the following <MobileApplication> section:
<MobileApplication>
<MobileGeneral />
<SupportedDevices>
<Device Name="iPhone" Value="iPhone" />
<Device Name="Blackberry" Value="Blackberry" />
<Device Name="Android" Value="Android" />
</SupportedDevices>
<ApplicationLinks>
<Action Name="FullVersion" />
<Action Name="ChangePassword" />
<Action Name="About" />
</ApplicationLinks>
<AccountsSearchResults>
<SearchOptions />
<DisplayedProperties>
<Property Name="Username" />
<Property Name="Address" />
<Property Name="AccountStatus" />
<Property Name="Safe" />
<Property Name="PolicyID" />
<Property Name="DeviceType" Visible="No" />
<Property Name="Name" Visible="No" />
<Property Name="LastModified" Visible="No" />
<Property Name="LastVerified" Visible="No" />
<Property Name="LastUsed" Visible="No" />
<Property Name="UserDN" Visible="No" />
<Property Name="LockedBy" Visible="No" />
<Property Name="Keywords" Visible="No" />
<Property Name="Description" Visible="No" />
</DisplayedProperties>
</AccountsSearchResults>
<AccountDetails>
<ToolbarActions>
<Action Name="Show" />
<Action Name="Release" />
<Action Name="ShowPreviousVersion" />
</ToolbarActions>
<AccountProperties>
<Property Name="Safe" />
<Property Name="Name" />
<Property Name="LastModified" />
<Property Name="LastUsed" />
<Property Name="Username" />
<Property Name="Address" />
<Property Name="UserDN" />
<Property Name="PolicyID" />
<Property Name="AccountStatus" />
<Property Name="LastVerified" Visible="No" />
<Property Name="Keywords" Visible="No" />
<Property Name="DeviceType" Visible="No" />
<Property Name="LockedBy" Visible="No" />
<Property Name="Description" Visible="No" />
</AccountProperties>
</AccountDetails>
<RequestDetails>
<RequestProperties>
<Property Name="Status" />
<Property Name="RequestedOn" />
<Property Name="Requestor" />
<Property Name="Operation" />
<Property Name="Safe" />
<Property Name="Reason" />
<Property Name="AccessType" />
<Property Name="RequestID" />
<Property Name="TicketSystemName" />
<Property Name="TicketNumber" />
</RequestProperties>
<AccountProperties>
<Property Name="PolicyID" />
<Property Name="DeviceType" />
<Property Name="Safe" />
<Property Name="Name" />
<Property Name="LastModified" />
<Property Name="LastUsed" />
<Property Name="Username" />
<Property Name="Address" />
<Property Name="LastVerified" Visible="No" />
<Property Name="UserDN" Visible="No" />
<Property Name="LockedBy" Visible="No" />
<Property Name="Keywords" Visible="No" />
<Property Name="Description" Visible="No" />
</AccountProperties>
</RequestDetails>
<PasswordDetails>
<PasswordPhoneticDisplay>
<Languages>
<Default>
<Character Name="a" DisplayWord="alpha" />
<Character Name="A" DisplayWord="Alpha" />
<Character Name="b" DisplayWord="bravo" />
<Character Name="B" DisplayWord="Bravo" />
<Character Name="c" DisplayWord="charlie" />
<Character Name="C" DisplayWord="Charlie" />
<Character Name="d" DisplayWord="delta" />
<Character Name="D" DisplayWord="Delta" />
<Character Name="e" DisplayWord="echo" />
<Character Name="E" DisplayWord="Echo" />
<Character Name="f" DisplayWord="foxtrot" />
<Character Name="F" DisplayWord="Foxtrot" />
<Character Name="g" DisplayWord="golf" />
<Character Name="G" DisplayWord="Golf" />
<Character Name="h" DisplayWord="hotel" />
<Character Name="H" DisplayWord="Hotel" />
<Character Name="i" DisplayWord="india" />
<Character Name="I" DisplayWord="India" />
<Character Name="j" DisplayWord="juliet" />
<Character Name="J" DisplayWord="Juliet" />
<Character Name="k" DisplayWord="kilo" />
<Character Name="K" DisplayWord="Kilo" />
<Character Name="l" DisplayWord="lima" />
<Character Name="L" DisplayWord="Lima" />
<Character Name="m" DisplayWord="mike" />
<Character Name="M" DisplayWord="Mike" />
<Character Name="n" DisplayWord="november" />
<Character Name="N" DisplayWord="November" />
<Character Name="o" DisplayWord="oscar" />
<Character Name="O" DisplayWord="Oscar" />
<Character Name="p" DisplayWord="papa" />
<Character Name="P" DisplayWord="Papa" />
<Character Name="q" DisplayWord="quebec" />
<Character Name="Q" DisplayWord="Quebec" />
<Character Name="r" DisplayWord="romeo" />
<Character Name="R" DisplayWord="Romeo" />
<Character Name="s" DisplayWord="sierra" />
<Character Name="S" DisplayWord="Sierra" />
<Character Name="t" DisplayWord="tango" />
<Character Name="T" DisplayWord="Tango" />
<Character Name="u" DisplayWord="uniform" />
<Character Name="U" DisplayWord="Uniform" />
<Character Name="v" DisplayWord="victor" />
<Character Name="V" DisplayWord="Victor" />
<Character Name="w" DisplayWord="whiskey" />
<Character Name="W" DisplayWord="Whiskey" />
<Character Name="x" DisplayWord="xray" />
<Character Name="X" DisplayWord="Xray" />
<Character Name="y" DisplayWord="yankee" />
<Character Name="Y" DisplayWord="Yankee" />
<Character Name="z" DisplayWord="zulu" />
<Character Name="Z" DisplayWord="Zulu" />
<Character Name="0" DisplayWord="Zero" />
<Character Name="1" DisplayWord="One" />
<Character Name="2" DisplayWord="Two" />
<Character Name="3" DisplayWord="Three" />
<Character Name="4" DisplayWord="Four" />
<Character Name="5" DisplayWord="Five" />
<Character Name="6" DisplayWord="Six" />
<Character Name="7" DisplayWord="Seven" />
<Character Name="8" DisplayWord="Eight" />
<Character Name="9" DisplayWord="Nine" />
</Default>
</Languages>
</PasswordPhoneticDisplay>
</PasswordDetails>
</MobileApplication>
- Copy the new version of PVConfiguration.xml back to the PVWAConfig safe using the PrivateArk Client, overwriting the current one.
- Run an IISReset on the PVWA or wait 20 minutes for the change to replicate automatically.