Skip to main content

User Management Graph Service Principal

Administrator

When an Entra ID user is added to DataCentral, DataCentral looks the user up in your Entra ID directory. If the user is not found, DataCentral can automatically invite their email address as a guest to your Azure tenant. This requires a User Management Graph Service Principal with permission to read users and send invitations.

Optionally, DataCentral can also add the user to an Entra ID security group, if a Security Group Object ID is set in the tenant settings.

Note: This service principal is separate from the Security Group Sync Service Principal, which syncs Entra ID security groups with Organizational Units.


1. Register an Application in Entra ID​

  1. Log in to the Azure portal.
  2. Navigate to Microsoft Entra ID > App registrations.
  3. Click New registration.
  4. Fill in the required information:
    • Name: Enter a name for the application (e.g., DataCentral User Management).
    • Supported account types: Select Accounts in this organizational directory only (Single tenant).
  5. Click Register.
  6. Copy the Application (client) ID and Directory (tenant) ID from the Overview tab.
  7. Go to Certificates & secrets, click New client secret, set an expiration according to your organization's policy, and copy the Value immediately.

2. Configure API Permissions​

  1. In the App Registration, go to API permissions.
  2. Click Add a permission > Microsoft Graph > Application permissions.
  3. Add the following permissions:
    • User.Read.All — to look up users in your directory.
    • User.Invite.All — to invite users who are not found as guests.
    • GroupMember.ReadWrite.All — only required if you set a Security Group Object ID, so DataCentral can add the user to that group.
  4. Click Grant admin consent for your organisation.

3. Configure DataCentral​

  1. Navigate to Administration > Settings > Azure Configurations.
  2. Make sure your Entra tenant ID is entered in Azure Tenant ID. The User Management Graph Service Principal uses this value; it is not entered separately.
  3. Enter the following credentials from your App Registration:
    • Client ID
    • Client Secret
  4. Optionally, enter the Object ID of an Entra ID security group in Security Group Object ID. Users that DataCentral adds are placed in this group. You can find the Object ID in the Entra admin center under Groups > your group > Overview.
  5. Click Save.

Once configured, DataCentral uses this service principal to look up users when they are added, and to invite users who are not found as guests to your Azure tenant.

Client secret expiry

The client secret expires on the date you chose when you created it. Create a new secret before then and update it in Azure Configurations, or DataCentral can no longer look up or invite users.


Further Reading​

If you want to read more, see Microsoft's documentation for the Graph APIs this service principal uses: Create invitation and Add members to a group.