Designing and Implementing Microsoft DevOps Solutions — Question 82
You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file.
You plan to upgrade App1 to use an Azure service principal.
What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?
Answer options
- A. the application ID, a client secret, and the object ID
- B. a client secret, the object ID, and the tenant ID
- C. the application ID, a client secret, and the tenant ID
- D. the application ID, a client secret, and the subscription ID
Correct answer: C
Explanation
To allow App1 to programmatically sign in to Azure AD, it requires the application ID, a client secret, and the tenant ID. Option A is incorrect because the object ID is not needed for this authentication process. Option B is also wrong since it includes the object ID instead of the application ID, and option D is incorrect as the subscription ID is not required for Azure AD authentication.