Understanding bug SRV-785/00008646 and how it effects failed AAM queries
113
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:55 PM
Symptom
SRV-785 is a bug that can cause a valid AAM query to fail to find the correct password object, This can result in this error:
(Message scrubbed with generic data)
APPAP002E Provider Prov_Server has failed to fetch password with query [Safe=SAFENAME;Folder=root;VirtualUsername=virtualname;DualAccountStatus=Active] for application [APPLICATON]. Fetch reason: [[AppID: APPLICATON] ]. Failure reason: [APPAP324E Password object matching query [Safe=SAFENAME;Folder=root;VirtualUsername=virtualname;DualAccountStatus=Active] was not found (Diagnostic Info: 9). Please check that there is a password object with a DualAccountStatus property (Active/Inactive) that answers your query in the Vault and that both the Provider and the application user have the appropriate permissions needed in order to use the password.
Although this error usually is caused by the combination of app-ID and provider user not having permission on the correct safe or the properties queries for not matching an object, in the case of this bug these configurations will be valid but the error will still occur.
This bug only effects queries using file categories. That means a query against the object name should work even if the original query does not. Querying by object name can be provided as alternative but the majority of the reasons why customers are querying by file categories is Dual Accounts.
Dual accounts is a system between AAM and the CPM that allows AIM to provide credentials for two accounts to accounts to an application allowing one account to be actively used by an application while the inactive account can be changed by the CPM without risking locking out an account. Dual accounts use the "VirtualUsername" and "DualAccountStatus" file categories to let the AAM provide to call the active account.
The actual cause of the bug is a value in an internal SQL table prevents a query from succeeding. this property is set by any user sorting by columns in PVWA. This results in the bug being random and able to re-occur after being fixed. Level 3 can provide a script to clear this table to resolve the bug.
An important not for the bug is that it cannot be fixed by an upgrade. The bug is marked as fixed in 10.6 but the resolution only prevents the issue from occurring, If there provider query effected by the bug only a script from level 3 can resolve the issue.