Recommended authentication for a multi-tenant SaaS integration with Azure DevOps that is not tied to an individual user
09:27 15 Oct 2026

We operate a SaaS platform that integrates with our customers' Azure DevOps organizations. It creates and updates work items, adds comments and uploads attachments, driven by events on our side.

Current implementation

  • Each customer registers their own Microsoft Entra app, and we use the OAuth 2.0 authorization-code flow against login.microsoftonline.com/{tenant}/oauth2/v2.0/.

  • We request the scope 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation offline_access.

  • A user from the customer signs in once, and we store the refresh token and use it for unattended calls to dev.azure.com.

Problem
The problem is that the connection runs as that user. If the person leaves or their account is disabled, the integration breaks. Customers don't want production tied to an individual, or a dedicated licensed user just for this.

What is the recommended way for an application like this to access a customer's Azure DevOps organization without depending on a user account?

Thank you. We'd appreciate documentation links as well as your recommendation.

best-practices authentication azure-devops multi-tenant saas