Quiz 12 Question 6 of 20

An Azure Function written in C# uses the Azure Identity library to get tokens for Dataverse. In Azure it runs with a managed identity; on developer laptops it must use the developer's own Azure CLI sign-in. The team wants the same code in both places with no secrets and no environment-specific branches. Which credential should the code use?

Select an answer to reveal the explanation.

Motivation