Author : HASSAN MD TAREQ | Updated : 2021/10/22

Service Pricipal for Service Connection

Service connection can be created in 2 ways:

For manual approach, make sure that you have following information ready (based on service principal credential)

{
  "SubscriptionId": "xxx",
  "SubscriptionName": "Pay-As-You-Go Dev/Test",
  "ServicePrincipalId": "xxx",
  "ServicePrincipalKey": "xxx",
  "ServiceConnectionName": "pulumi-demo-sc",
  "ServiceConnectionDescription": "Service connection for Pulumi stack deployment to target subscription",
  "TenantId": "xxx"
}

Notes:

Manual Connection

Azure DevOps creating service connection manually

Automatic Connection

Azure DevOps creating service connection automatic