web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

The record cannot be deleted because it is associated with another record.

(0) ShareShare
ReportReport
Posted on by 145

Hello,

I have some product bundles that I had to clone in order to be able to remove old products and add new ones to them. However now that I have added the new products, I'm trying to delete the old ones but it won't let me and gives the above error. I understand that it's saying it's associated to something, but it won't tell me what it is. This wouldn't really be a problem except that there's a powerapp used for selling stuff that pulls from the CRM the products. But that powerapp is showing the retired product bundles as well as the new ones and it's making it very messy. \

What do I do? The 2022 bundles/products are the ones I made, but as you can see, the list is long and confusing with all the old stuff still showing up.

pastedimage1669298906946v1.png

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: The record cannot be deleted because it is associated with another record.

    Hi XeXE,

    As I told you in my last reply. Deactivate all the products you do not want to appear in control. The control must be associated with the query or the view. Add filter(s) in the 'view' or in the 'query' so that the control stops showing these records to you. 

  • XeXE Profile Picture
    145 on at
    RE: The record cannot be deleted because it is associated with another record.

    Hi. This didn't work, is there any way of at least turning these bundles and products off so that the powerapp won't see them?

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: The record cannot be deleted because it is associated with another record.

    Hi,

    Please check relationship behaviour by going to maker portal

    learn.microsoft.com/.../data-platform-entity-lookup

    You will need to check the Restrict Delete type for parental relationship

  • XeXE Profile Picture
    145 on at
    RE: The record cannot be deleted because it is associated with another record.

    I have no idea what you mean. I need the old bundles/products to not show in the powerapp. I was able to delete some that I had created for testing and they disappeared from the Powerapp. But some of them refuse to be deleted giving the error that they're associated with something else and others I retired, but they're still showing up.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: The record cannot be deleted because it is associated with another record.

    Hi XeXE,

    I think you might need to filter the view associated with this control instead of deleting old records. What do you think?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 128

#2
DAnny3211 Profile Picture

DAnny3211 126

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans