We have an application which collects entitlements from database and groups specific Active directory groups . The application accounts are collected from account collector where source type is database. Account id is same value as samAccountName . So setting up samAccountName as Account ID. While collecting AD group membership, members are having distinguishedName value. Group membership is failing and rejecting all member account resolutions.
Any thoughts how to collect group membership with successful account resolutions.
I would not recommend collecting permissions from different sources under one application or directory, particularly when AFX is involved. My concerns here are:
You are duplicating data for AD groups by collecting them under Active Directory and this other application. This complicates things when requesting or reviewing access.
From an AFX perspective, each business source can only be bound to one AFX Connector. In this case that can only be the database or the Active Directory. If it is the database, any attempt to fulfill a change in AFX that relates to an AD group will fail and vice versa.
My recommendation would be to separate these out into separate business source. One for the database accounts and the related application roles and another that utilises the AD accounts and group memberships. This post around AD Managed Applications explains how to do this giving you the visibility of the group memberships from an application perspective without duplicating data or causing any issues with AFX: Active Directory (AD) Managed Applications