Refer to the exhibit. You deploy this ARM template to create an agent. The agent uses a user-assigned managed identity to call an external weather API. The deployment succeeds but the agent fails to authenticate to the weather API. What is the most likely reason?
The API must trust the identity's token.
Why this answer
Option D is correct because the weather API needs to trust the managed identity's token, which requires configuring the API as a federated identity credential or using an app registration. Option A is wrong because the resourceId is correctly formatted. Option B is wrong because the model provider is valid.
Option C is wrong because the endpoint is not necessarily incorrect.