Samples that show how to authenticate with Azure DevOps and Azure DevOps Server.
Learn more about integrating with Azure DevOps and specific authentication guidance
- Managed client sample (using Azure Active Directory Library)
- Device profile sample (.NET Core)
- ASP.NET Web app OAuth sample
- Client library sample (using VSSConnection)
- Javascript web app sample (using Microsoft Authentication Library for JavaScript)
- Dual Support (Azure DevOps/TFS) Client Sample (using Azure Active Directory Library and Windows Authentication)
- Non-interactive PAT Generation Sample (using Azure Active Directory Library with a Username Password credential)
- PAT lifecycle management API sample (using Microsoft Authentication Library with authentication code)
- Azure AD Service Principals and Managed Identities in Azure DevOps