Share via

ADF system-assigned managed identity broken after subscription migration

Murali Kadiyala 0 Reputation points Microsoft Employee
2026-03-03T22:15:15.6066667+00:00

After migrating an Azure Data Factory (ADF) resource from one Azure subscription to another, the system assigned managed identity for the ADF resource appears to be in a broken state. The managed identity is visible in the ADF resource settings, but it cannot be resolved or used by dependent services.

To remediate this, I attempted to disable and re-enable the system-assigned managed identity on the ADF resource. When performing this action and selecting Save, Azure returns the following error:

Disabling system assigned managed identity - Message: Parameter identity is not valid.

Code: InvalidParameter

Because of this error, I am unable to reset or recreate the system-assigned managed identity through the Azure Portal.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 41,566 Reputation points MVP Volunteer Moderator
    2026-03-04T01:02:24.14+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    After moving an ADF resource between subs, the system assigned MI can break because the underlying service principal in microsoft EntraID does not automatically rebind correctly. The identity reference remains on the ADF resource, but the object ID in Entra ID becomes invalid in the new subscription context, which is why Azure throws “Parameter identity is not valid” when you try to disable or re-enable it from the portal.

    The practical fix is to avoid portal toggle and instead remove and recreate the identity using Azure CLI/PowerShell. First, remove the identity explicitly: az resource update --ids <ADF_resource_id> --set identity.type=None Then re-enable it: az resource update --ids <ADF_resource_id> --set identity.type=SystemAssigned

    If the removal command fails, export the ARM template, remove the identity block manually, redeploy the factory, and then enable system-assigned identity again. As a last resort, recreate the ADF in the target subscription and reattach pipelines. After identity recreation, reassign RBAC roles because the principal ID will change.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

    0 comments No comments

Your answer

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