25 Mar 2026 01:31 PM - edited 25 Mar 2026 01:34 PM
Hi,
I'm trying to assign policies and boundaries for many groups using Monaco
The groups were deployed in Account Management using SCIM and now we're trying to assign policies and boundaries to each group using Monaco.
But when we try to deploy the configuration, we receive this error:
Error: unable to deploy group 'GROUP_NAME' for account tenant_account_id: unable to update group with UUID: uuid_group (HTTP 400): {\"error\":true,\"payload\":null,\"message\":\"Cannot modify SCIM group uuid_group\"}" error.type=*errors.joinError error.details="unable to deploy group 'GROUP_NAME' for account tenant_account_id: unable to update group with UUID: uuid_group (HTTP 400): {\"error\":true,\"payload\":null,\"message\":\"Cannot modify SCIM group uuid_group"}"
The test (deploy -d) works fine but the deploy fails with that error.
Before deploying with Monaco, we assigned the policies and boundaries for a group from UI. Then we downloaded the configuration and put these rules for each new group to assign the policies and roles but it fails.
This is the code we are using:
I've seen this link talking about -d options and HTTP 400 error but I'm not able to fix it.
Does someone know what's wrong?
Thanks in advance.
Regards,
Elena.
Solved! Go to Solution.
25 Mar 2026 01:51 PM
Hi,
The issue is caused by the fact that your group is SCIM-managed.
Dynatrace does not allow modifying SCIM groups via Account Management update operations, which is why you get:
Cannot modify SCIM group ...Why does deploy -d work?
During a real deploy, Monaco tries to update the group object, and this is blocked for SCIM groups -> HTTP 400.
Here:
- id: MY_GROUP
...
originObjectId: objectIDmakes Monaco treat the group as managed and updatable, which is not allowed for SCIM groups.
You shouldn't manage SCIM groups via groups: in Monaco. Instead manage policies and boundaries or assign them to existing SCIM groups
25 Mar 2026 02:04 PM
Hi @t_pawlak ,
Thanks a lot for your answer.
But we're trying to assign policies and boundaries to existing SCIM groups.
This is the steps we have followed:
So as the SCIM groups exist, it should be worked.
Do you know any further idea what can be happen?
Thanks a lot.
Elena
26 Mar 2026 07:05 AM - edited 26 Mar 2026 07:06 AM
Featured Posts