Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Change application connection & security policies for your organization

Important

Azure DevOps doesn't support Alternate Credentials authentication. If you're still using Alternate Credentials, switch to a more secure authentication method.

Important

Public projects in Azure DevOps are retired. Starting in 2027, existing public projects convert to private. For more information, see Public projects retirement and Migrate from a public project to GitHub.

This article shows how to manage your organization's security policies that determine how users and applications can access services and resources in your organization. You can access most of these policies in Organization settings.

Prerequisites

Category Requirements
Permissions

Manage a policy

To update application connection, security, or user policies for your organization, follow these steps:

  1. Sign in to your organization at https://dev.azure.com/{Your_Organization}.

  2. Select πŸ‘ gear icon
    Organization settings.

    πŸ‘ Screenshot of Organization settings button, preview page.

  3. Select Policies, then toggle the desired policy on or off.

    πŸ‘ Screenshot of policies list and their on and off toggles.

Restrict authentication methods

To allow seamless access to your organization without repeatedly prompting for user credentials, applications can use authentication methods, like OAuth, SSH, and personal access token (PATs). By default, all existing organizations allow access for all authentication methods.

You can limit access to these authentication methods by disabling the following application connection policies:

When you deny access to an authentication method, no application can access your organization through that method. Any application that previously had access encounter authentication errors and lose access.

Conditional Access policy support on Azure DevOps

Conditional Access (CA) in Azure DevOps is enforced through Microsoft Entra ID and supports both interactive (web) and non-interactive (client credential) flows, validating policies like MFA, IP restrictions, and device compliance during sign-in and periodically through token checks.

SSH key policies

SSH authentication

The SSH authentication policy controls whether or not an organization allows the use of SSH keys.

Validate SSH key expiration

To avoid losing access due to an expired SSH key, create and upload a new key before the current one expires. The system sends automated notifications 7 days before expiration and again after expiration to help you stay ahead. For more information, see Step 1: Create your SSH keys.

The Validate SSH key expiration policy is enabled by default. When active, it enforces the expiration dateβ€”expired keys immediately become invalid.

If you disable the policy, the system no longer checks expiration dates, and expired keys remain usable.

Policies by Level

Policy Org-level Tenant-level
Third-party application access through OAuth βœ…
SSH authentication βœ…
Validate SSH key expiration βœ…
Log audit events βœ…
Restrict personal access token creation βœ…
Allow public projects βœ…
Additional protections when using public package registries βœ…
Enable IP Conditional Access policy validation on non-interactive flows βœ…
External guest access βœ…
Allow team and project administrators to invite new users βœ…
Request access allows users to request access to the organization with a provided internal URL βœ…
Allow Microsoft to collect feedback from users βœ…
Restrict organization creation βœ…
Restrict global personal access token creation βœ…
Restrict full-scoped personal access token creation βœ…
Enforce maximum personal access token lifespan βœ…

Feedback

Was this page helpful?

Additional resources