We are using the code
session.addDynamicGroup('dm_superusers_dynamic') and then removing after our business logic. It works perfect when we execute the code in 7.1 environment.
However when we use the same code base in 7.2 environment, it is throwing error that
"User is not a potential member of dm_superusers_dynamic" group.
We checked all the settings of making the client privileged and followed as per the proper support notes/documentation and allowed all the privileges as well.
What could be the problem?