Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Deleting a Portal user

Posted on by 156

Hi,

I want to delete a Portal user that I've been using to test how the portal works. 

I'm selecting the user from the Contacts list, clicking Delete but getting a "The record cannot be deletd because it is associated with another record".

The Show Details doesn't help at all.

How can I ascertain what the "other record" is?

Thanks

Steve

  • Suggested answer
    CRMJetty Profile Picture
    CRMJetty 3,508 on at
    RE: Deleting a Portal user

    Hello Steve Pillar,

    pls refer this thread

     https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/205868/the-record-could-not-be-deleted-because-of-an-association-sample-data/801878 

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Deleting a Portal user

    Hi Steve,

    you can view entity relationships to figure out what type of records can restrict deletions.

    Navigate to Settings > Customizations >Customize the System > Entities > Contact > 1:N relationship to locate any relationships who’s ‘Type of Behaviour’ is equal to ‘Referential, Restrict Delete’.

    pastedimage1638238486276v4.png

    Take a note of the Related Entity of each of those relationships, these are the types of records which could be restricting your ability to delete the record.

    Then you can delete these associated records by using advanced find or the related items menu for the record look through the noted record types.

    Reference Link:Dynamics 365 – The record could not be deleted because of an association | SharePoint & CRM (spandcrm.com)

    Also, you can remove portal user from a portal without deleting the contact record.

    There is an attribute in the Contact record that you can disable the user for login, then you can deactive it:

    pastedimage1638238160746v3.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans