“Specified domain cannot be found” error when adding a new domain connection or during execution of any workflow.
In Password Manager event logs and verbose logs, the following error may be present:
Error 1722: The RPC server is unavailable.
DsQuerySitesByCost Error 1722. The RPC server is unavailable.
It can be an environmental issue. However it severely affects functionality of Password Manager. Below is a Microsoft article that describes diagnostic methods to check the environment:
Possibly, if the issue is caused by permissions (it may happen in external domains) you may have the correct results of the diagnostic methods described in the article, but the issue will still occur in Password Manager.
1. Enable verbose logging on admin site
2. Reproduce the issue and remember time of the issue
3. Open “QPM.Service.Host…log”
4. Search for “DsQuerySitesByCost failed”
You may see the following lines in the log:
2016-10-26 14:42:02:133 E [1608:23] QPM.Service.Modules.ADHelpers.dll DCHelper.GetSitesByCost() >> System.ComponentModel.Win32Exception (0x80004005): DsQuerySitesByCost failed with error 1722: The RPC server is unavailable.
at QPM.Service.Modules.ADHelpers.NativeWrapper.DsContext.DsQuerySitesByCost(String fromSite, String toSites)
at QPM.Service.Modules.ADHelpers.DCHelper.GetSitesByCost(DsContext ctx, String closestSite)
5. Check if time of the issue in the log matches
1. If the issue happens with a new domain which was never added to Password Manager, the environment must be checked and verified. ie. DNS.
2. If the failed domain was added previously, but later removed from Password Manager, then you need to get an older configuration and then perform the next step.
3. If the failed domain is present in configuration of Password Manager you need to delete “Default Domain Controller” from the list of domain controllers (Admin site | General Settings | Domain Connections | Edit button | Advanced Settings), and add a predefined DC to the list.
If this is not possible to do on the Admin site (but the domain is in the configuration) do the following:
Enhancement Request TF00656082 has been logged to be considered in a future release of Password Manager.