Keycloak cli import.state=true not working for

Hi all,

I have the following scenario. At deploy time, some client scopes are created and then some clients scopes are manually created from the ui console. At an upgrade, the config cli will delete all the manually created scopes (although the import state si set to true and “keycloak-config-cli will purge only resources they created before by keycloak-config-cli”. (Only for client scopes this occurs, for clients and roles the cli will not delete the manually created resources).

Any ideas? Thank you!