Recently we moved the power automate flow to a new environment. After that, the approval is failing with the error "XrmApplyUserNotMemberOfSecurityGroup".
In a blog, I saw this, "The CDS database for this environment is protected by a security group. An owner of the security group will need to add all approval creators, requestors, and recipients to the security group. The security group can be configured from the Power Platform Admin Center." to fix this error.
Can someone guide me to fix this step by step? Unable to figure out what to do?
Solved! Go to Solution.
I was able to resolve the error by removing the approval action and adding it new to the flow. Am not sure if this is the right approach.
The steps I followed are,
1. Created a Copy of the same flow in the new environment.
2. Removed the approval action and added it again as new.
The error was resolved and flow ran successfully.
I was able to resolve the error by removing the approval action and adding it new to the flow. Am not sure if this is the right approach.
The steps I followed are,
1. Created a Copy of the same flow in the new environment.
2. Removed the approval action and added it again as new.
The error was resolved and flow ran successfully.
In our case Dynamics 365 CE, we were using Security Group for that environment, we added the user as the member of the security group and it fixed the issue for us -
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
43 | |
28 | |
25 | |
24 | |
23 |