Authorize other services to access Azure DevOps
Azure DevOps | Azure DevOps Server 2020 | Azure DevOps Server 2019
Learn how to give a service access to Azure DevOps. The OAuth 2.0 framework provides safe, secure access to your resources. Some of these resources include work items, source code, and build results.
- A service uses the authorization, bound to your credentials, to access resources in any organization that you have access to.
- Use your Microsoft account, like
me@live.com, or your work account, your account in Azure AD - likeme@my-workplace.com, to authorize the service. - The service that you authorize never has access to your Azure DevOps credentials.
- Revoke any authorizations that you've granted to other services.
Authorize a service
A typical authorization flow might be similar to the following example:
You're using a service that uses Azure DevOps resources, so the service requests authorization.
If you're not already signed in, Azure DevOps prompts you for your credentials.
After you've signed in, you get the authorization approval page.
A service can only request full access through the REST APIs, so the authorization request may not be specific.
Review the request and approve the authorization.
The authorized service uses that authorization to access resources in your Azure DevOps organization.
To ensure an authorization request is legitimate, do the following actions:
- Look for the Azure DevOps branding across the upper portion of the authorization approval page.
- Ensure the authorization approval page URL begins with
https://app.vssps.visualstudio.com/. - Pay attention to any HTTPS-related security warnings in your browser.
- Remember that other services don't ask for your credentials directly. They let you provide them to Azure DevOps through the authorization approval page.
Manage authorizations
View the services that you've authorized to access your organization.
To access the Preview features options, open your profile menu. The profile menu appears based on whether the New Account Manager feature has been enabled or not. For more information, see Preview features.
Sign in to your organization (
https://dev.azure.com/{yourorganization}).Choose
User settings, and then choose Profile.Choose Authorizations.
You can revoke any authorizations so the service can no longer access your organization on your behalf.
