Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Error Handling
Unanswered

Cannot Delete Custom Entity

(1) ShareShare
ReportReport
Posted on by 11

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.

  • MahmoudYasser Profile Picture
    11 on at
    Re: Cannot Delete Custom Entity

    I'm glad to hear that my answer was helpful to you. 😄

    I hope your issue gets resolved soon.

     

  • R4isin Profile Picture
    76 on at
    Re: Cannot Delete Custom Entity

    Thank you for your message. I encountered the same issue today and have been exploring all the possibilities so far. Just wanted to let you know that the issue is still unresolved 😄

  • MahmoudYasser Profile Picture
    11 on at
    Re: Cannot Delete Custom Entity

    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

  • Tim Partridge2 Profile Picture
    58 on at
    Re: Cannot Delete Custom Entity

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Error Handling

#1
stampcoin Profile Picture

stampcoin 35

#2
DS-11051211-0 Profile Picture

DS-11051211-0 14

#3
HumanOnly Profile Picture

HumanOnly 6

Overall leaderboard

Featured topics