| author | maud-lv |
|---|---|
| ms.author | malev |
| ms.service | azure-app-configuration |
| ms.topic | include |
| ms.date | 02/14/2023 |
A service connection gives you access to resources in your Azure subscription from your Azure DevOps project.
-
In Azure DevOps, go to the project that contains your target pipeline. In the lower-left corner, select Project settings.
-
Under Pipelines, select Service connections. In the upper-right corner, select New service connection.
-
In New service connection, select Azure Resource Manager.
:::image type="content" source="./media/azure-app-configuration-service-connection/new-service-connection.png" alt-text="Screenshot shows selecting Azure Resource Manager from the New service connection dropdown list.":::
-
In the Authentication method dialog, select Workload identity federation (automatic) to create a new workload identity federation or select Workload identity federation (manual) to use an existing workload identity federation.
-
Enter your subscription, resource group, and a name for your service connection.
If you created a new service principal, find the name of the service principal assigned to the service connection. You'll add a new role assignment to this service principal in the next step.
-
Go to Project Settings > Service connections.
-
Select the new service connection.
-
Select Manage Service Principal.
-
Note the value in Display name.
:::image type="content" source="./media/azure-app-configuration-service-connection/service-principal-display-name.png" alt-text="Screenshot shows the service principal display name.":::