You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant.
You are configuring a build pipeline in Azure Pipelines that will include a task named Task1. Task1 will authenticate by using an Azure AD service principal.
Which three values should you configure for Task1? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Click on the arrows to vote for the correct answer
A. B. C. D. E.ABD
Create an Azure Resource Manager service connection with an existing service principal
AB: Enter the information about your service principal into the Azure subscription dialog textboxes:
-> Tenant ID
-> Subscription ID
-> Subscription name
-> Service principal ID
Either the service principal client key or, if you have selected Certificate, enter the contents of both the certificate and private key sections of the *.pem file.
D: To deploy to a specific Azure resource, the task will need additional data about that resource.
If you're using the classic editor, select data you need. For example, the App service name.
If you're using YAML, then go to the resource in the Azure portal, and then copy the data into your code. For example, to deploy a web app, you would copy the name of the App Service into the WebAppName value.
https://docs.microsoft.com/en-us/azure/devops/pipelines/library/connect-to-azureWhen configuring a build pipeline in Azure Pipelines, you can use an Azure AD service principal to authenticate the tasks that will be included in the pipeline. To configure the Task1 task correctly, you need to specify the following values:
The app ID: This is the unique identifier assigned to the Azure AD application that you created for the service principal. You can find the app ID by navigating to the Azure AD portal and selecting the application. The app ID is listed on the Overview page.
The client secret: This is the password that you generated for the service principal. You can create a client secret by selecting the Certificates & secrets option on the application page and then selecting New client secret. Make sure to copy the secret value when it is generated because you won't be able to retrieve it later.
The tenant ID: This is the unique identifier assigned to your Azure AD tenant. You can find the tenant ID by navigating to the Azure AD portal and selecting Properties. The tenant ID is listed under the Directory ID heading.
Therefore, the correct answers to the question are:
A. The tenant ID C. The client secret D. The app ID
The subscription ID and the object ID are not needed for configuring an Azure AD service principal for authentication in an Azure Pipelines build pipeline.