Home
Microsoft Azure Active Directory
Microsoft Azure Active Directory Getserviceprincipal Example
Microsoft Azure Active Directory Getserviceprincipal Example
Authentication Authorization Identity Microsoft Microsoft Entra OpenID Connect SAML SCIM Single Sign-On Zero Trust
Microsoft Azure Active Directory Getserviceprincipal Example is an example object payload from Microsoft Azure Active Directory, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "getServicePrincipal",
"method": "GET",
"path": "/servicePrincipals/{servicePrincipal-id}",
"summary": "Get Service Principal",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "Getserviceprincipal200Example",
"example": {
"accountEnabled": true,
"appDescription": "example_value",
"appDisplayName": "example_value",
"appId": "500123",
"appOwnerOrganizationId": "500123",
"appRoleAssignmentRequired": true,
"appRoles": [
{
"allowedMemberTypes": {},
"description": "A sample description.",
"displayName": "example_value",
"id": "abc123",
"isEnabled": true,
"value": "example_value"
}
],
"displayName": "example_value",
"homepage": "https://www.example.com",
"keyCredentials": [
{
"customKeyIdentifier": "example_value",
"displayName": "example_value",
"endDateTime": "2026-01-15T10:30:00Z",
"key": "example_value",
"keyId": "500123",
"startDateTime": "2026-01-15T10:30:00Z",
"type": "example_value",
"usage": "Sign"
}
],
"loginUrl": "https://www.example.com",
"logoutUrl": "https://www.example.com",
"notificationEmailAddresses": [
"example_value"
],
"oauth2PermissionScopes": [
{
"adminConsentDescription": "example_value",
"adminConsentDisplayName": "example_value",
"id": "abc123",
"isEnabled": true,
"type": "User",
"userConsentDescription": "example_value",
"userConsentDisplayName": "example_value",
"value": "example_value"
}
],
"passwordCredentials": [
{
"customKeyIdentifier": "example_value",
"displayName": "example_value",
"endDateTime": "2026-01-15T10:30:00Z",
"hint": "example_value",
"keyId": "500123",
"secretText": "example_value",
"startDateTime": "2026-01-15T10:30:00Z"
}
],
"replyUrls": [
"https://www.example.com"
],
"servicePrincipalNames": [
"example_value"
],
"servicePrincipalType": "example_value",
"signInAudience": "example_value",
"tags": [
"example_value"
],
"tokenEncryptionKeyId": "500123"
}
}
]
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/microsoft-azure-active-directory-getserviceprincipal-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.