~/talk

How Do You Get an Access Token in Azure? A Developer's Guide to TokenCredentials

Talkat Øredev 2025 · 2025-11-05..11-07· [developer-experience]
slides:none on file

Explains exactly which TokenCredential types are tried (nearly 20), shows getting tokens with DefaultAzureCredential and the slower fallbacks, demos using Azure CLI and InteractiveBrowserCredential to return access tokens, and builds a custom chain with ChainedTokenCredential to control order. Shows how to inspect JWTs, enable identity diagnostics, and uses an open source Cloud Debugger to compare behavior across environments, plus practical gotchas: unexpected credential selection and long auth latency.

AI-written summary · about

  1. 0:00Token credentials in Azure
  2. 3:42Authentication fails without tokens
  3. 5:31Access token with CLI
  4. 8:50Token credential explained
  5. 12:25Choosing token credential
  6. 15:36Pitfalls of default credentials
  7. 19:55Chained tokens customization
  8. 21:20Azure SDK with token credentials
  9. 23:10Interactive browser authentication
  10. 27:54Best practices for credentials
  11. 29:41Debugging token behavior
  12. 32:10Azure Identity internals
  13. 36:03Customizing default credentials with environment variables
  14. 37:36Token credentials vs MSAL
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.