# Monaco account command: unable to update a group (HTTP 400) {\\"error\\":true,\\"payload\\":null,\\"message\\":\\"Cannot modify SCIM grou

**URL:** <https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363>\
**Category:** Automations\
**Tags:** account-management, iam, monaco, automations\
**Created:** [March 25, 2026, 1:31pm UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363 "2026-03-25T13:31:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [March 25, 2026, 1:31pm UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363/1 "2026-03-25T13:31:11Z")

</div>

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&nbsp;_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&nbsp;but it fails.

This is the code we are using:

- id: MY\_GROUP&nbsp; name: MY\_GROUP&nbsp; environments:&nbsp; - environment: my\_environment&nbsp; &nbsp; policies:&nbsp; &nbsp; - policy: All Grail data read access&nbsp; &nbsp; &nbsp; boundaries:&nbsp; &nbsp; &nbsp; - type: reference&nbsp; &nbsp; &nbsp; &nbsp; id: my\_boundary&nbsp; &nbsp; - policy: Pro User&nbsp; &nbsp; &nbsp; boundaries:&nbsp; &nbsp; &nbsp; - type: reference&nbsp; &nbsp; &nbsp; &nbsp; id: my\_boundary&nbsp; &nbsp; - policy:&nbsp; &nbsp; &nbsp; &nbsp; type: reference&nbsp; &nbsp; &nbsp; &nbsp; id: my\_policy&nbsp; &nbsp; &nbsp; boundaries:&nbsp; &nbsp; &nbsp; - type: reference&nbsp; &nbsp; &nbsp; &nbsp; id: my\_boundary&nbsp; originObjectId: objetctID

I’ve seen this [link](https://docs.dynatrace.com/docs/shortlink/monaco-cli-commands#deploy-options) 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.

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 25, 2026, 1:51pm UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363/2 "2026-03-25T13:51:17Z")

</div>

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:

```markup
Cannot modify SCIM group ...

```

Why does deploy -d work?

- it only validates the configuration
- it does not attempt to update the group

During a real deploy, Monaco tries to update the group object, and this is blocked for SCIM groups → HTTP 400.

Here:

```markup
- id: MY_GROUP
  ...
  originObjectId: objectID

```

makes Monaco treat the group as managed and updatable, which is not allowed for SCIM groups.

You shouldn’t manage&nbsp;SCIM groups via groups: in Monaco. Instead&nbsp;manage policies and boundaries or assign them to existing SCIM groups

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [March 25, 2026, 2:04pm UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363/3 "2026-03-25T14:04:38Z")

</div>

Hi&nbsp;[@t\_pawlak](https://community.dynatrace.com/user/42367)&nbsp;,

Thanks a lot for your answer.

But we’re trying to&nbsp;assign policies and boundaries to existing SCIM groups.

This is the steps we have followed:

1. Azure administrator supplied many user groups from SCIM
2. Before that we’ve defined two policies that we want to apply to these new groups
3. After that, we created using Monaco as many boundaries as new supplied to groups. Each of these boundaries and the policies will apply to the new supplied groups
4. When we try to&nbsp;assign these policies and boundaries to these new existing SCIM groups we get HTTP 400 error

So as the SCIM groups exist, it should be worked.

Do you know any further idea what can be happen?

Thanks a lot.

Elena

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [March 26, 2026, 7:05am UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363/4 "2026-03-26T07:05:16Z")

</div>

Hi [@t\_pawlak](https://community.dynatrace.com/user/42367),

Definetely it seems it’s not possible manage permissions using Monaco, even&nbsp;manage policies and boundaries or assign them to existing SCIM groups, according to this [link](https://docs.dynatrace.com/docs/shortlink/access-scim#scim-notice-and-limitations):

 ![scim_limitations.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/c/ce2e0af0508ef151214b963149e166ed93ce6005.jpeg)

Fortunately, automation via API is possible.

Thank you so much for your help.

Regards,

Elena.
