neilpeterson / azure-blueprints-pipeline-tasks

MIT License
17 stars 16 forks source link

Use ManagementGroupID, not ManagementGroupName #20

Closed ajf214 closed 5 years ago

ajf214 commented 5 years ago

I forgot to create this issue earlier, apologies.

The scripts are using Management Group Name in the URIs for the REST calls, but it should be the ID. The service connection dialog asks for both MG name and MG id, but MG name is essentially a display name.

I was able to get tasks working by using the MG ID in the name field for the service connection, but obviously that is not ideal.

neilpeterson commented 5 years ago

@ajf214 This has been updated in the latest build.

https://github.com/neilpeterson/azure-blueprints-pipeline-tasks/blob/master/createBlueprint/createBlueprint.ps1#L22