Reducing personal access token (PAT) usage across Azure DevOps
Jan 6, 2025Angel Wong

Summary
This post announces the deprecation of the 'Generate Git Credentials' button in Azure Repos and Wiki, which previously generated 7-day PATs for Git clones. This button will be deactivated and eventually removed. The post encourages the use of Microsoft Entra tokens for Git operations, providing links to documentation on ad-hoc Entra token generation and updating Git Credential Manager. It also reiterates best practices for PAT creation and usage, such as setting short durations, minimal scopes, and revoking when no longer needed. Furthermore, it announces an upcoming organizational policy to disable PAT creation except for an authorized list of users.