0

I'm trying to deploy a new azure subscription into a management group using azure devops pipeline. I have created a management group and a service principle , I assign the contributor role on the mgm group to the sp and then created a new service connection on the management group scope. My problem is that I can not find this service connection in my pipeline task. How can I use this service connection in my pipeline to deploy subscription?

Edit service connection dialog

dbc
  • 104,963
  • 20
  • 228
  • 340
May Levi
  • 1
  • 1

1 Answers1

0

According to your description, you could add the "ARM Template deployment" task in the azure pipeline to deploy a new azure subscription into a management group.

In classic pipeline:

ARM Template deployment

For more information about the ARM of the mangement group, you could refer to this documentation.

Ging Yuan-MSFT
  • 689
  • 2
  • 6