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

Behavior when deleting 1:N Relationship?

(0) ShareShare
ReportReport
Posted on by 20

I have a relationship in Dynamics CRM between contact (primary) and custom entity Policy (related). The relationship I created is named 'new_contact_policy_customerid' relationship. 

Our governance wanted to rename the relationship name, unfortunately, this is not supported once the relationship has been created and published. 

My plan is to delete the relationship and re-create it, but I wanted to know what is the effect when I delete this relationship.

Alternative ways to rename a relationship name too?

I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    RE: Behavior when deleting 1:N Relationship?

    Hello,

    You can not update schema name. So need to create a new relationship.

    Please follow below steps to implement your requirement.

    1.Check dependency on old relationship.

    2. If there is any dependence then move it on the new relationship.

    3. Create a solution add this changes. Move it to the target environment.

    4. Update the data with replacing old Relationship with new one.

    Then if you want to delete old Relationship it is okay else be else let it be...

    Thank you,

    Amit katariya

  • Benjsoft Profile Picture
    20 on at
    RE: Behavior when deleting 1:N Relationship?

    Exactly. I need to rename the schema name, not the display name.

    We have 2 environments, DEV and UAT (managed).

    So in DEV, I tried to delete the entity-relationship and create a new one with correct schema name.

    What is the correct process to duplicate this in our UAT environment? Using Cloned Solution?

    Specific steps?

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: Behavior when deleting 1:N Relationship?

    Hi Benjsoft,

    You can not rename the schema name but the Display name.

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Benjsoft Profile Picture
    20 on at
    RE: Behavior when deleting 1:N Relationship?

    Relationships once created cannot be renamed. Any ideas to rename it?

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: Behavior when deleting 1:N Relationship?

    Hi Benjsoft,

    Before deleting the existing relationship. Rename the old relationship and the column by adding the Prefix (Deprecated) or (Deleted). Create a new relationship. Fix data. Move dependencies. 

    After some days delete the old relationship (Deprecated) or (Deleted).

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    RE: Behavior when deleting 1:N Relationship?

    Hello,

    You will have to check that relationship's dependency first. If it will be having dependency then you will have to replace it with the new one.

    Then check the existing data which is having the relationship data.. And replace it with new one.

    community.dynamics.com/.../755627

    Thank you,

    Amit Katariya

  • Ray Profile Picture
    1,536 on at
    RE: Behavior when deleting 1:N Relationship?

    I would add a new relationship and copy data to this new relationship and change the old ones' display name to (deleted)some relationship

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 28

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 22 Most Valuable Professional

#3
SamikK Profile Picture

SamikK 13

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans