Hi @Xavier Bermudez ,
The behavior you are describing is discussed in the documentation. Since Azure Resource Manager sometimes caches configurations and data to improve performance, it can sometimes take up to 30 minutes for changes to take effect when you assign roles or remove role assignments.
Using Azure CLI, you can force a refresh of your role assignment changes by signing out and signing in.