cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MahmoudYasser
New Member

Cannot Delete Custom Entity

I am trying to delete custom entity but it cannot be deleted because it has relationship with activities that cannot be deleted manually and when I delete the custom entity I get this error message:

 

"EntityRelationshipRole with id 98716f1f-d6a1-ec11-9840-0022489e0b73 cannot be deleted because it is a system record and system records of this type cannot be deleted."

I think the relationship mentioned in message is the relationship generated when I check activities option on that entity.

 

I appreciate any ideas.

2 REPLIES 2
timpartridge1
New Member

Same problem. I also have a custom entity with the activities option selected. Not sure if that is root cause but we have the same situation. I can't find out how to query entity relationship roles to find out exactly what the error message is referring to. Only the following page about dependencies makes a reference to it. When I show dependencies on the custom entity, no dependencies are listed with the component type of entity relationship type.

We opened a ticket from Microsoft and it turned out that it was a known problem and it will be solved through future updates, but in our case we could not wait, so they ran script on their back-end on our organaization on the entities to be deleted and after that I deleted without problems

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Kudoed Authors
Users online (4,094)