API-driven provisioning to on-premises Active Directory - Provisioning Failure

Andy Nicholls 0 Reputation points
2025-01-10T16:04:37.71+00:00

Hi. Hoping someone can help with this.

I have a logic app that handles multiple user remediations, and one of those is to disable accounts. This works fine in a cloud only environment, however; I want to extend the disable account element to on-prem hybrid accounts. I've configured the API-driven provisioning to on-premises Active Directory enterprise app, installed the Entra provisioning agent, amended my logic app to utilise the provisioning endpoint, along with additional get user steps to pull properties such as userPrincipalName, ID, employeeID.

Using employeeID (the default mapping for the API-driven provisioning) then it works no problem. However, if I try to use any other valid attribute such as UPN, AccountName, ID etc, the provisioning app fails with:

Result: Failure

Description: Source identifier of an entry cannot be empty.

SkipReason: UnprocessableEntry

ErrorCode: EmptySourceIdentifier

ErrorMessage: Source identifier of an entry cannot be empty.

The sources I've used above are not empty, and I've confirmed this via GraphAPI, so I'm confused as to why this is happening. Again, employeeID works fine. The ID is reflected on both the cloud and on-prem accounts, so no different to the other attributes I have tried using.

Any help would be appreciated.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,794 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,804 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.