DEV Community


Discussion on: Manage Azure Service principal's credentials expiry

bbarman4u profile image

@tidjani So is it accurate to assume that the Service Principal's Expiration is agnostic of the person's Azure Account i.e. if the person whose id was used to create the Service Principal, leaves the company or leaves the Azure Tenant, the service principal will still live on until the defined expiry date?

tidjani profile image
Tidjani Belmansour, Ph.D. Author

Sorry for the late reply @bbarman4u . Thank you for your question.

It is right to assume that the two entities (the Service Principal and the user account who created it) have their own (and independent lifeycle).

However, it's worth mentioning that you can remove permissions of a Service Principal at any time and even delete that Service Principal.