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?
Asked
Active
Viewed 409 times
0
-
Have you tried the following steps? – Ging Yuan-MSFT Aug 19 '22 at 09:17
1 Answers
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:
For more information about the ARM of the mangement group, you could refer to this documentation.

Ging Yuan-MSFT
- 689
- 2
- 6