capabilities.work

Assign a token lifetime policy to a service principal

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Get something done

Assign a token lifetime policy to a service principal

with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management

Use Microsoft Entra ID (formerly Azure AD): its Applications Service Principals.token Lifetime Policy API lets you assign a token lifetime policy to a service principal in a single step (POST /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/$ref). capabilities.work can help you get signed up and connected.

  • How do I apply a token lifetime policy to a service principal?
  • Can I assign more than one token lifetime policy to the same service principal?
Say it to your AI assistant
  • Assign token lifetime policy {policy_ref} to service principal {sp}.
  • Link the policy at {policy_ref} to service principal {sp} to control its token lifetimes.
For your developer

POST /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/$ref in Applications Service Principals.token Lifetime Policy API. Full spec on APIs.io.