

it creates a token with a display name like "git: on MyMachine."

If you receive an unexpected PAT notification, an administrator or tool might have created a PAT on your behalf. The following image shows an example of the seven-day notification before your PAT expires.

This notification confirms that your PAT was added to your organization. Users receive two notifications during the lifetime of a PAT - one upon creation and the other seven days before the expiration.Īfter you create a PAT, you receive a notification similar to the following example. For more information, see User sign-in frequency for Conditional Access. Create a PATįor organizations backed by Azure Active Directory, you have 90 days to sign in with your new PAT, otherwise it's considered inactive. Unless your users are using a credential manager, they have to enter their credentials each time. For smaller projects that require a less robust solution, PATs are a simple alternative. We recommend that you review our authentication guidance to help you choose the correct authentication mechanism. To set up PATs for non-Microsoft tools, use Git credential managers or create them manually.

Azure DevOps Services | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018
