For the instance : InforFabric220724, When data factory contributor role is being assigned, the client id is not available in the member list. So, instead of client id, when App itself is added, then the Object ID that reflects is not same as the object

Naren Babu 20 Reputation points
2024-07-30T09:40:07.23+00:00

For the data factory instance : InforFabric220724, When data factory contributor role is being assigned, the client id is not available in the member list. 

So, instead of client id, when App itself is added, then the Object ID that reflects is not same as the object id in the application. 

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. Chandra Boorla 15,455 Reputation points Microsoft External Staff Moderator
    2024-08-01T08:14:53.5466667+00:00

    Hi @Naren Babu

    Thanks for the question and using MS Q&A platform.

    As I understand that, In Azure Data Factory, you have an instance named "InforFabric220724". When you try to assign the "Data Factory Contributor" role to a client ID, it's not available in the member list. Instead, when you add the application itself, an Object ID is displayed, but it's not the same as the Object ID in the application.

    It appears that the difficulty in assigning the "Data Factory Contributor" role to a client ID, it's not available in the member list because the client ID is not a valid object ID for the application. This might be due to the following reasons:

    App Registration vs. Service Principal: The client ID is associated with the App Registration, whereas the Object ID is linked to the Service Principal. These are distinct entities within Azure Active Directory (AAD).

    Different Object IDs: The Object ID displayed when adding the application might belong to the Service Principal, which differs from the Object ID of the App Registration.

    To resolve this issue, please use the Object ID of the Service Principal instead of the client ID when assigning the “Data Factory Contributor” role. Alternatively, you can create a new Service Principal using the client ID and then assign the role to this new Service Principal.

    If the issue still persists, consider using Azure CLI or PowerShell commands to assign the role. This can provide more detailed error messages. Please refer the below links for additional information.

    Link1: List Azure role assignments using Azure PowerShell

    Link2: List Azure role assignments using Azure CLI

    I hope this information helps. Please do let us know if you have any further queries.


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.