Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a blueprint of target scope 'managementGroup' fails #67

Open
sflandergan opened this issue Nov 18, 2021 · 1 comment
Open

Creating a blueprint of target scope 'managementGroup' fails #67

sflandergan opened this issue Nov 18, 2021 · 1 comment

Comments

@sflandergan
Copy link

I'd like to create a blueprint with target scope managementGroup.
The template should then have multiple resourceGroups for statically defined subscriptions.
Is this possible?

When I create a blueprint via portal the target scope is always subscription and I have to pick a subscription on assignment.
The az command fails completely:

$> az blueprint create -n mgmt-group-test -m "<hidden>" --target-scope managementGroup

(InvalidSchema) Path:properties.targetScope, Schema:#/definitions/SharedBlueprintProperties/properties/targetScope, Error: Value "managementGroup" is not defined in enum.
Code: InvalidSchema
Message: Path:properties.targetScope, Schema:#/definitions/SharedBlueprintProperties/properties/targetScope, Error: Value "managementGroup" is not defined in enum.
@alex-frankel
Copy link
Contributor

It is not possible to have a single blueprint assignment deploy to multiple subscriptions. A blueprint assignment stored at MG scope can still only target one subscription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants