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 Active Directory Service Principals API

The Service Principals API from Microsoft Active Directory — 3 operation(s) for service principals.

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

This API exposes 8 JSON Schema definitions.

Tagged areas include Service Principals. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 8 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version v1.0.

Requests are made against a single base URL, https://graph.microsoft.com/v1.0.

3 operations 3 paths 4 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1.0
Base URL
https://graph.microsoft.com/v1.0
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Microsoft 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 3 scopes. By default, every request must be authenticated.

Paths & Operations 3

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

Service Principals 3
GET
/servicePrincipals
Active Directory List Service Principals
list-service-principals 4 params → 200401
GET
/servicePrincipals/{servicePrincipalId}
Active Directory Get Service Principal
get-service-principal 1 param → 200404
GET
/servicePrincipals/{servicePrincipalId}/appRoleAssignments
Active Directory List Service Principal App Role Assignments
list-service-principal-app-role-assignments 1 param → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ServicePrincipal (12 properties), AppRoleAssignment (8 properties), ServicePrincipalCollection (3 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ErrorResponse
object
1 property
ServicePrincipal
object
A service principal — the local instance of an application in the tenant
12 properties
ServicePrincipalCollection
object
3 properties
AppRoleAssignment
object
An app role assignment granting a user, group, or SP access to an app role
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs Microsoft Active Directory publishes across the network.

Microsoft Graph Devices API
Microsoft Graph Directory Roles and Administrative Units API
Microsoft Graph Conditional Access API
Microsoft Graph Identity Governance API
Microsoft Graph Identity Protection API
Microsoft Graph Authentication Methods API
Microsoft Graph Identity and Access Reports API
Microsoft Active Directory App Role Assignments API
Microsoft Active Directory Applications API
Microsoft Active Directory Groups API
Microsoft Active Directory Members API
Microsoft Active Directory Owners API
Where this information came from

This is an independent, third-party profile of Microsoft 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.