Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restrict users from searching on deactivated accounts

(0) ShareShare
ReportReport
Posted on by

Hello,

After while browsing on web I decided to ask this question on forum. Basically, I am working on data retention project and one of the requirements that came up is to restrict users from searching and viewing on deactivated accounts. I must add that I am not an expert yet with CRM so I cannot estimate if this is something can be done in crm or weather this could be done by adding javascript library to crm. However,  that would implicate writing quite large piece of code to achieve very little. So my question is if there is any chance of setting up privileges in crm to restrict certain users  to search and view deactivated account records in CRM? 

Thank you 

Piotr

*This post is locked for comments

  • Suggested answer
    T.I.A Profile Picture
    1,760 on at
    RE: Restrict users from searching on deactivated accounts

    I've got a fix.

    settings>administration>Security>Security Role>customization>View

    Change the View permissions to the following, Write: none Create: none

    now users can only view the views provided. They cannot create their own

  • Community Member Profile Picture
    on at
    RE: Restrict users from searching on deactivated accounts

    Hello T.I.A,

    Alright, I went deeper into this part of CRM and found that I could create custom view for users and that would stop users from seeing deactivated users although this do not stop users from creating new personal views what means it not ideal solution for what need to be achieved really.

    Thanks for trying to help.

  • T.I.A Profile Picture
    1,760 on at
    RE: Restrict users from searching on deactivated accounts

    No worries piotreck. If this ends up helping you please mark the answer as verified

  • Community Member Profile Picture
    on at
    RE: Restrict users from searching on deactivated accounts

    Many thanks, will definitely try this when I find spare time to test it and will update you.

    Many thanks anyway for your help!!

  • T.I.A Profile Picture
    1,760 on at
    RE: Restrict users from searching on deactivated accounts

    if status and status reason are not searchable that means if a user goes into advanced find and tries to search for deactivated accounts it wont be possible.

    If you deactivate and amend the views there should be no way a user can access deactivated records.

  • Community Member Profile Picture
    on at
    RE: Restrict users from searching on deactivated accounts

    Hi T.I.A.,

    Yes, by looking under Security Roles it looks that security roles are set up in CRM.  Thinking about your previous answer if we make status and status reason not searchable will it let users to browse through active accounts.

    Sorry for dummy question, where do I change status  for inactive accounts?

  • T.I.A Profile Picture
    1,760 on at
    RE: Restrict users from searching on deactivated accounts

    for very specific users I don't know enough about your current security to make a suggestion. Do any users have organisation level access to accounts?

  • Suggested answer
    T.I.A Profile Picture
    1,760 on at
    RE: Restrict users from searching on deactivated accounts

    1)You could disable the inactive account views and amend the all accounts view.

    2)make the status and status reason not searchable so a user wouldn't be able to search for inactive accounts

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans