## TL;DR

Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. Fixed in Renovate 23.16.3.

## Steps

1. Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. A git command change broke how credentials were passed to git ls-remote.

2. Fixed in Renovate 23.16.3. The git invocation was corrected to pass the auth header properly. If you are pinned between 23.11.0 and 23.16.2 on Azure DevOps, upgrade. Two reporters confirmed it works.

## When to use

You are seeing this: Two reporters confirmed it works. Use this skill when you run into "Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: Renovate 23.11.0, Renovate 23.16.3, 23.16.2. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://dev.azure.com':
