I get the follow duplicate error when adding a user group to my app even though the user group is not listed as a user!
{"devError":"Cannot create team for undefined.","statusCode":400,"contentId":1,"body":"{\"error\":{\"code\":\"0x8004022a\",\"message\":\"Duplicate record exists. Cannot insert duplicate key row in object 'dbo.TeamBase' with unique index 'ndx_TeamName_BusinessUnitId'. The duplicate key value is <redacted>.\"}}"}
I get the same error in a flow when I try to start an approval with a mail-enabled security group:
BadRequest. Fehler bei Anforderung. Fehlercode: "XrmApiRequestFailed". Fehlermeldung: "Fehler bei XRM-API-Anforderung: "Message: Duplicate record exists. Cannot insert duplicate key row in object 'dbo.TeamBase' with unique index 'ndx_TeamName_BusinessUnitId'. The duplicate key value is <redacted>. Code: 0x8004022a InnerError: ".".
@aboehm We're getting the same error when trying to send approvals to a mail enabled O365 group. Did you ever find a solution/explanation for this problem?
@Kevin_Centric Unfortunately no, I had not found any solution nor any explanation for this issue. Instead I created a workaround by allowing multiple "assignedTo" addresses for the approvals in my flow, so there was no longer a need for the mail-enabled security group.
It isn't ideal because theses addresses come from a single SharePoint column, which i can't restrict to only "usable" addresses. So some users may enter data which let the flow just explode instead of displaying a message to the user in an expectable error condition.
User | Count |
---|---|
156 | |
93 | |
82 | |
77 | |
58 |
User | Count |
---|---|
195 | |
175 | |
103 | |
96 | |
89 |