Understanding IDP Targeting in macOS EPM Agent
Question
Understanding IDP Group Authentication and Policy Targeting in Idira EPM and macOS
Environment
24.12;25.1;25.2;25.3;25.4;25.5;25.6;25.7;25.8;25.9;25.10;25.11;25.12;26.1 EPM;Identity EPM Agent;EPM integration with SCIM
Answer
This article explains how the Idira EPM agent handles user authentication via Identity Providers (IdPs), how group data is retrieved, and the logic used for policy targeting.
1. User Authentication and Data Retrieval
When a user logs in to the EPM agent using an IdP, the agent authenticates the user and retrieves essential attributes and group memberships. The retrieval method depends on the provider:
-
Standard IDPs: Data is typically retrieved via Directory Services.
-
Microsoft Entra ID (Azure AD): Data is retrieved using the Microsoft Graph API.
This data is stored locally on the endpoint and serves as the basis for all local policy evaluations.
2. Policy Targeting Options
When creating policies in the EPM management console, you will encounter two primary targeting options for cloud identities:
-
Azure Groups
-
IDP Groups
Why both? Since EPM treats Microsoft Entra ID (Azure) as a specific type of Identity Provider, Azure groups are effectively IdP groups. Providing both options allows for flexible integration depending on your specific environment configuration (e.g., hybrid vs. cloud-only).
3. Group Matching Logic
The EPM agent uses internal identity data to match users to policies. You can view this data by inspecting the idp.json file found within the Support Info package.
[IMPORTANT] While
idp.jsonprovides visibility into what the agent "sees," it is a reflection of the internal data, not the source of truth for the matching engine itself.
Matching Logic
1 Group Name Only:
◦ If the internal data contains only the group name:
▪ Policy targeting is matched using the group name only.
▪ Matching is case-insensitive.
2 Group Name + UUID:
◦ If the internal data contains both group name and UUID:
▪ Policy targeting is matched using both group name and UUID.
4. Best Practices
To ensure consistent policy application and avoid "identity collisions" between different providers, follow these guidelines:
-
Enable SCIM: Ensure your SCIM provisioning is configured to provide UUIDs for all groups.
-
Prioritize UUIDs: Always prefer configurations where both the group name and UUID are available to the agent.
-
Differentiate Providers: Using UUIDs is critical to prevent confusion between Azure groups and other IdP groups that may share similar names.
5. Troubleshooting
If policies are not applying as expected, perform the following checks:
-
Review
idp.json: Check the Support Info on the endpoint. Does the file contain the expected group names? Are UUIDs present? -
Verify Provisioning: If groups are missing, review your SCIM provisioning settings.
-
Entra ID Check: For Microsoft Entra ID, verify that the agent has the necessary permissions to pull data via the Microsoft Graph API.
-
Escalation: If the data in
idp.jsonis incorrect despite proper agent connectivity, open a ticket with your internal Directory/Identity team to verify synchronization.
Key Takeaways
-
Retrieval: Most IdPs use Directory Services; Entra ID uses Microsoft Graph API.
-
Visibility: Use
idp.jsonto see exactly what group data the agent is using for policy evaluation. -
Reliability: UUID-based matching is the recommended standard for enterprise environments.
-
Identity: In the context of macOS EPM targeting, Azure is treated as an IdP.