How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Microsoft Azure Active Directory Service Principals API

Manage service principals in Azure Active Directory. A service principal is the local representation of an application in a specific tenant. It defines what the application can do in the tenant, who can access it, and what resources it can access.

Microsoft Azure Active Directory Service Principals API is one of 12 APIs that Microsoft Azure Active Directory publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Service Principals. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, pricing, a getting-started guide, a changelog, and 1 JSON Schema.

This API exposes 6 operations across 3 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://graph.microsoft.com/v1.0, https://graph.microsoft.com/beta.

6 operations 3 paths 10 schemas 1 DELETE3 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://graph.microsoft.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Microsoft Azure Active Directory Service Principals API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode and clientCredentials flows, exposing 12 scopes. By default, every request must be authenticated.

  • oauth2 — Microsoft identity platform OAuth 2.0 authorization. Supports authorization code flow, client credentials flow, and on-behalf-of flow. All API calls require a…

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Service Principals 6

Manage service principals in Azure Active Directory. A service principal is the local representation of an application in a specific tenant. It defines what the application can do…

GET
/servicePrincipals
List Service Principals
listServicePrincipals 9 params → 200401403429
POST
/servicePrincipals
Create Service Principal
createServicePrincipal body → 201400401403429
GET
/servicePrincipals/{servicePrincipal-id}
Get Service Principal
getServicePrincipal 3 params → 200401403404
PATCH
/servicePrincipals/{servicePrincipal-id}
Update Service Principal
updateServicePrincipal 1 param body → 204400401403404
DELETE
/servicePrincipals/{servicePrincipal-id}
Delete Service Principal
deleteServicePrincipal 1 param → 204401403404
GET
/servicePrincipals/{servicePrincipal-id}/appRoleAssignments
List App Role Assignments for a Service Principal
listServicePrincipalAppRoleAssignments 4 params → 200401403404

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are ServicePrincipal (21 properties), ServicePrincipalUpdate (9 properties), PermissionScope (8 properties), KeyCredential (8 properties). Each schema is shown below with its type and property counts.

DirectoryObject
object
Represents an Azure Active Directory directory object. This is the base type for most directory resources.
3 properties
AppRole
object
Represents an application role that can be assigned to users, groups, or service principals.
6 properties
PermissionScope
object
Represents a delegated permission (OAuth2 scope).
8 properties
KeyCredential
object
Contains a key credential (certificate) associated with an application or service principal.
8 properties
ServicePrincipal
object
Represents an instance of an application in a directory. A service principal is the local representation or application instance of a global application object…
21 properties
ServicePrincipalUpdate
object
Properties that can be updated on an existing service principal.
9 properties
ODataError
object
OData error response from Microsoft Graph.
1 property
AppRoleAssignment
object
Represents an app role assigned to a user, group, or service principal.
8 properties
ServicePrincipalCreate
object
Properties required when creating a new service principal.
6 properties 1 required
PasswordCredential
object
Contains a password credential (client secret) associated with an application or service principal.
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

microsoft-azure-active-directory-service-principals-api-openapi.yml Raw ↑

Other APIs Microsoft Azure Active Directory publishes across the network.

Azure AD Graph API (Deprecated)
Azure AD Authentication Library (ADAL)
Microsoft Authentication Library (MSAL)
Microsoft Identity Platform
Microsoft Entra Verified ID API
Microsoft Entra ID Governance API
Microsoft Entra SCIM Provisioning API
Microsoft Entra PowerShell
Microsoft Azure Active Directory Applications API
Microsoft Azure Active Directory Groups API
Microsoft Azure Active Directory Users API
Where this information came from

This is an independent, third-party profile of Microsoft Azure Active Directory Service Principals API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.