capabilities.work

Provision Application With Service Principal

A 4-step recipe with Microsoft Active Directory. We can help you get access.

Recipe · 4 steps

Provision Application With Service Principal

with Microsoft Active Directory · Identity & Access Management

Register an app and resolve its service principal and role assignments.

  1. Register the new application in Microsoft Entra ID.
  2. Resolve the service principal automatically provisioned for the new application by filtering service principals on the application's appId.
  3. Retrieve the full service principal object for the resolved id.
  4. List the app role assignments granted to the service principal.
What you'll need to have ready
  • displayName: Display name for the new application registration.
  • signInAudience: Which Microsoft accounts are supported (e.g. AzureADMyOrg).
For your developer

Arazzo workflow active-directory:provision-application-with-service-principal, 4 operations: create-application → list-service-principals → get-service-principal → list-service-principal-app-role-assignments. Specs on APIs.io.