Problem
After an Active Directory (AD) user has been migrated to a new domain, they are not able to see their previous Compliance Accelerator (CA) / Advanced Surveillance (VAS) departments, Discovery Accelerator (DA) cases or Research Folders.
Error Message
Unable to connect
You do not have permission to access the instance 'DACustomer1' (where DACustomer1 is the name of the actual DA Customer)
Cause
Access to CA/VAS departments, DA cases and Research Folders is granted through Role Assignments to users in the AD or Lotus Domino domain. The role assignments are granted on an individual user or group membership basis based on the AD or Domino domain in which the user account resides. When any user account that has any Role Assignment is moved from one AD or Domino domain to another, that user's account in the new AD or Domino domain will not automatically have any Role Assignment to any CA/VAS department, DA case or Research Folder.
The error noted in the Error section above will be thrown anytime the new account is used to attempt to access any CA/VAS department, DA case or Research Folder in the Accelerator Customer, as the account has not been granted any Role Assignment. After the appropriate Role Assignment has been granted to the new domain account, the user will be able to access the CA/VAS department, DA Case or Research Folder to which the Role Assignment has been granted.
Note: A trust relationship is required between the domain in which CA/VAS or DA is located and the domain in which the user account is located. A two-way trust is preferred, but a one-way trust may also work as long as:
- the domain in which CA/VAS or DA is located trusts the domain in which the user account is located, and
- an account in the user's domain that is configured within CA/VAS or DA that can access the account properties of the user account.
Solution
The user's account in the new domain will not have the ability to access any CA/VAS department, DA case or Research Folder until after their account has been granted the appropriate Role Assignment(s).
To grant the appropriate Role Assignments to a CA/VAS department, DA case or Research Folder, an account with the proper permissions must be used. Those permissions are:
- Department level User Admin role within each CA/VAS department to be accessed
- Case level Admin role within each DA case to be accessed
- Research Folder level Full Control for CA/VAS or Folder Full Control for DA.
The Department, Case, folder owner has the appropriate Role assigned by default, but these Roles can be granted to other users by the owners.
The user with the appropriate Role must:
- Access the Role Assignment tab for the department, case or Research Folder.
- Note the Role(s) assigned to the user's previous domain account.
- Click on the user's previous domain account in the Role Assignment tab.
- Take note of the Roles assigned to that user account in the Assigned Roles panel. Note: Be aware of any Role that is grayed out as such role assignments indicate the user is the department, case or Research Folder owner and those assignments cannot be removed until after the ownership has changed to the user's new domain account. If the user's old account is the owner of a Department, Case or Research Folder, that ownership will need to be changed to the user's new account using the user's old account.
- Remove the Role(s) assigned to the user's previous domain account.
- Click on the user's previous domain account in the Users and Groups panel if that user is not already selected from Step 2 above.
- For each Role assigned -
- Click on the Role in the Assigned Roles panel.
- Click the Remove button in the bottom right of the Assigned Roles panel.
- An alternate method to remove role assignments is to click on one role to select it, then hold the Ctrl key down while clicking on additional role assignments to add them to the selection, then click on the Remove button.
- Add the user's new domain account and assign the Roles their previous domain's account had.
- Click the Add User... option above the Users and Groups panel.
- In the Select Users pane that will open in DA -
- Change the Windows Domain if the option is available: selection to the new Active Directory or Lotus Domino domain, if that domain is not already selected.
- Click the drop down arrow to the right of the Windows Domain: selection line.
- Scroll up or down through the list of available domains to locate the new AD or Domino domain.
- Click on the new AD or Domino domain name.
- If the new AD or Domino domain contains more than 1000 user accounts, the browser pane will only show the first 1000 accounts.
- If the user to be added is listed within those 1000 accounts, scroll through the accounts to locate and select the user's account.
- If the user to be added is not listed within those 1000 accounts, or if scrolling through the first 1000 accounts is considered too time-consuming -
- Enter some or all of the user's Display Name into the Enter User dialog line
- Click the Search button.
- Click on the user's account to select it.
- Click the OK button to complete the user selection process. This will cause the Select User pane to be replaced by the Roles pane.
- Change the Windows Domain if the option is available: selection to the new Active Directory or Lotus Domino domain, if that domain is not already selected.
- In the Roles pane -
- Click on the appropriate Role to be assigned to the user's new domain account.
- If the user is to have multiple Role assignments with the CA department DA case or Research Folder, hold the Ctrl key and click on the additional Roles to which the user's account will be assigned.
- Click the OK button to complete the Role Assignment selection process and allow the Roles pane to disappear.
- Click the Save button in the Assigned Roles panel to complete the Role Assignment process.
Note: Once an account has been added to a CA department, DA case or Research Folder, even if no Role has been assigned, that account is available for Role Assignment in all CA departments, DA cases and Research Folders. This is by design to allow for quicker adding of Role Assignments where access by the account user is required for multiple CA departments, DA cases and / or Research Folders.
If the CA department, DA case or Research Folder is owned by the user's previous domain account and the user can still log onto the previous domain, the user should:
- Log onto the previous domain.
- Launch the CA or DA Client.
- Add the user's new domain account to the Role Assignment tab of any Case or Research Folder to which they are owner.
- Assign the appropriate Roles to the new domain account to match the old domain account.
- Change the owner to the new domain account.
- Repeat the above Steps 3 through 5 for each Case or Research Folder they own.
If the CA department, DA case or Research Folder is owned by the user's previous domain account and that domain is no longer available for login validation, contact Technical Support for assistance to remove and replace the ownership and Role Assignments.
Here are some data-gathering scripts that Technical Support may ask to be run. All scripts are to be run against the Customer database with output to spreadsheet (Right-click in the results | Select All | Right-click in the results again | Copy With Headers | Paste into a new spreadsheet in Excel).
1. List all non-deleted Cases/Departments/Research Folders:
SELECT DISTINCT
[Query] = '1'
, [CustomerDatabase] = db_name()
, tc.CaseID
, [Research_Folder_Name] = tc.Name
, [Research_Folder_Owner_PrincipalID] = tp1.PrincipalID
, [Research_Folder_Owner] = tp1.PrincipalName
, [Research_Folder_Type] = CASE
WHEN (tc.FolderType = 330 AND tc.Type = 101) THEN 'Case'
WHEN (tc.FolderType = 330 AND tc.Type = 102) THEN 'Department'
WHEN (tc.FolderType = 331 AND tc.Type = 101) THEN 'DA Folder'
WHEN (tc.FolderType = 332 AND tc.Type = 101) THEN 'DA Hidden Folder'
WHEN (tc.FolderType = 331 AND tc.Type = 102) THEN 'CA Folder'
WHEN (tc.FolderType = 332 AND tc.Type = 102) THEN 'CA Hidden Folder'
ELSE 'Other' END
, tc.StatusID
, [Research_Folder_Status] = ts2.Name
, [Parent_CaseID] = tcParent.CaseID
, [Parent_Case/Department_Name] = tcParent.Name
, ['Parent_Case/Department_Owner] = tp2.PrincipalName
FROM tblCase AS tc (NOLOCK)
JOIN tblStatus AS ts2 ON ts2.StatusID = tc.StatusID
LEFT JOIN tblPrincipal AS tp1 ON tc.OwnerPrincipalID = tp1.PrincipalID
JOIN tblCase AS tcParent (NOLOCK) ON tc.ParentCaseID = tcParent.CaseID
LEFT JOIN tblPrincipal AS tp2 ON tcParent.OwnerPrincipalID = tp2.PrincipalID
WHERE tc.MarkedForDeletion = 0 AND (tc.DeletedByPrincipalID IS NULL OR tc.DeletedByPrincipalID = NULL)
ORDER BY tc.CaseID, tc.Name;
2. Find the PrincipalID for the new Owner/user. Edit the following query as indicated and run against the Customer database:
DECLARE @NewOwner nvarchar(100) = '%smith%'; -- Edit original Owner's name here
SELECT
[Query] = '2'
, [CustomerDatabase] = db_name()
, PrincipalID, PrincipalName, PrincipalLogin
FROM tblPrincipal
WHERE PrincipalName LIKE '%' + @NewOwner + '%'
OR PrincipalLogin LIKE '%' + @NewOwner + '%'
ORDER BY PrincipalID;
Applies To
Any version of Enterprise Vault (EV) Discovery Accelerator (DA).
Any version of Enterprise Vault (EV) Compliance Accelerator (CA).