RazorSPoint / azure-devops-azure-policy-extension

Extension for deploying Azure Governance topcis (Policies, Initiatives) with Azure DevOps (formerly VSTS)
https://razorspoint.github.io/azure-devops-azure-policy-extension
MIT License
2 stars 3 forks source link

Deployment Error 'Missing SubscriptionId' #5

Closed Hannes1910 closed 5 years ago

Hannes1910 commented 5 years ago

I'm trying to deploy a Policy Definition by using the "Splitted Deployment", but receiving the following error message: image

Settings of the DevOps Task: Definition Location: Management Group Type of Deployment: Splitted Deployment Mode: all Name, Displayname, Description, Category: --> All Containing a value Parameters / Policy Rule: --> Files are published from CI Pipeline

These are the two files I'm trying to deploy (originally JSON files - converted to txt in order to upload here): Policy_AuditPIP_Parameters copy.txt Policy_AuditPIP_Rule copy.txt

A Service Connection to a Subscription within the scope of the target management group has been configured and works also (SPN Role: Resource Policy Contributor).

Any ideas if I'm doing something wrong?

SebastianSchuetze commented 5 years ago

Thanks! Gonna check this!

SebastianSchuetze commented 5 years ago

7

SebastianSchuetze commented 5 years ago

@Hannes1910 issue is fixed and should work now!