You are developing an API that must be called by other backend services (daemon apps) with no user interaction. These services need to access your API using their own identity. Which Microsoft Identity Platform flow should the calling services use?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Client Credentials Flow

Client Credentials Flow is designed for service-to-service (daemon) scenarios with no user involved. The calling service authenticates using its own client ID and secret (or certif...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioAzure Active Directory (Entra ID)

You are developing an API that must be called by other backend services (daemon apps) with no user interaction. These services need to access your API using their own identity. Which Microsoft Identity Platform flow should the calling services use?

โœ“ Correct Answer & ExplanationAzure Active Directory (Entra ID)

Correct Answer

Client Credentials Flow

Why This Answer Is Correct

Client Credentials Flow is designed for service-to-service (daemon) scenarios with no user involved. The calling service authenticates using its own client ID and secret (or certificate) to get a token representing its application identity. On-behalf-of is for when you already have a user token and need to call downstream APIs on behalf of the user.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Active Directory (Entra ID) โ€” a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Azure Active Directory (Entra ID) is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.