Open mvalenzisi opened 1 year ago
Thank you for the feedback @mvalenzisi . We will investigate and get back to you asap.
Hi, service team. I am not the expert in subscription and I don't find example declare what management_group_id looks like. Could you help give an sample to show how to set management_group_id
?
I found this similar issue and it is exactly my case. The service principal that I'm using was not authorized to add the subscription to the management group. The error returned by the API is misleading.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anuragdalmia, @shilpigautam, @ramaganesan-rg.
Author: | mvalenzisi |
---|---|
Assignees: | - |
Labels: | `question`, `Service Attention`, `Subscription`, `customer-reported`, `Mgmt`, `needs-team-attention` |
Milestone: | - |
Adding service team to look into this.
Describe the bug I try to create a subscription with the following piece of code:
The management group ID is:
general
(from the Azure portal). If I passmanagement_group_id="general"
I get the error:If I pass
management_group_id="/providers/Microsoft.Management/managementGroups/general"
I get the error:To Reproduce See above
Expected behavior The subscription should be created when I pass
management_group="/providers/Microsoft.Management/managementGroups/general"