Unable To Access The Folder With AD User Login

UiPath Folder access issue with AD Integration.

Issue Description:
While accessing Orchestrator with an AD user, the warning "You need to be assigned to this folder" is obtained even though the required permissions have been added:


Error Message:

Error retrieving AD security groups for S-1-5-21-1078075414-2761664173-2136425179-47622.System.DirectoryServices.AccountManagement.PrincipalOperationException: Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} from the IClassFactory failed due to the following error: 800401e4 Invalid syntax (0x800401E4 (MK_E_SYNTAX)). ---> System.Runtime.InteropServices.COMException (0x800401E4): Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} from the IClassFactory failed due to the following error: 800401e4 Invalid syntax (0x800401E4 (MK_E_SYNTAX)).


Resolution:

  1. Open the Orchestrator server machine and navigate to IIS > Change the Orchestrator & Identity. application pool to service account (i.e., domain/username).
  2. Change the LoadUserProfile configuration to True in IIS for Orchestrator & Identity application pools under advanced settings:

image.png