Records and data
0x80040227
CannotDeleteDueToAssociation
The object cannot be deleted, because another object is associated with it.
- Hex
0x80040227- Decimal
-2147220953- Name
CannotDeleteDueToAssociation
Common causes
- A relationship with restrict-delete behavior has related records.
- The object is used by another component.
How to fix it
- 01Remove or reassign the related records first.
- 02Review the relationship's cascade behavior.
Causes and fixes are practical guidance, not an official statement. The code and name come from Microsoft's Dataverse error reference. This site is independent and not affiliated with Microsoft.