Azure DevOps Personal Access Token

Detects Azure DevOps personal access tokens (PATs). The primary detector is the current 84-character format, which carries a fixed AZDO signature at positions 76-80. Tokens in the legacy 52-character Base32 format are detected only when a specific Azure DevOps term is nearby, because that shape has no signature. Microsoft Purview ships a built-in sensitive information type for the same credential, which also validates the token checksum; this version cannot.

Type
regex
Engine
universal
Confidence
high
Confidence justification
High for the current format: Microsoft documents a fixed length (84) and a fixed AZDO signature at a fixed offset, so a chance match needs an 84-character alphanumeric run with those four letters in exactly that place. The legacy 52-character format is a generic Base32 shape with no signature; it is capped at the 75 tier and needs a specific Azure DevOps term, and the whitespace that let the previous regex match ordinary prose has been removed. Neither branch validates the checksum that Microsoft's built-in detector uses.
Detection quality
Mixed
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF, PCI-DSS, SOC 2
Data categories
credentials, security
Scope
specific
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?-i)(?<![A-Za-z0-9])([A-Za-z0-9]{76}AZDO[A-Za-z0-9]{4})(?![A-Za-z0-9])

Corroborative evidence keywords

Azure DevOps, azuredevops, dev.azure.com, visualstudio.com, VSTS, ADO, personal access token, PAT, api key, api_key, apikey, access key, access token, auth token, authorization, bearer, conn str, connection string, connectionstring, cookie (+41 more)

Proximity: 300 characters

Should match

Should not match

Known false positives

References