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 :
Microsoft Dynamics CRM (Archived)

Security Role Customization

(0) ShareShare
ReportReport
Posted on by

Hi

I have a situation where access to account entity needs to be restricted from Site Map only and if a user navigates to this entity from any lookup which have reference to Account entity then it should be accessible.

For example: Account entity should not be visible in Site Map. But Case to Account have N:1 Relationship. So, Case entity form have a Customer lookup field which have reference to Account entity. If the user clicks on the Account record from that lookup, then it should navigate to that Account record.

Is it possible?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Security Role Customization

    Hi Needhi,

    There is no straight forward way to hide the sitemap entity just for one user. However you can workaround this as follows-

    -Create a new dummy entity say "accountacces"

    -Create a security role and give read permissions for this entity.

    -Assign this role.to all user but this user

    -Then you can update your sitemap and add privledge on the account entity which would be read of this new entity.

  • Community Member Profile Picture
    on at
    RE: Security Role Customization

    Hi Ravi,

    Thanks for your reply.

    I forgot to mention that I have to do it for one user only. Hiding Account entity from sitemap will hide that entity for all the users using that organization.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Security Role Customization

    Hi Needhi,

    Yes, its possible. Hiding the entity from sitemap doesn't affect users permissions. You can simply hide the account entity completely or assign privileges from the sitemap using either the built in sitemap editor or from XrmToolbox.

    The only issue which you will observe is that when users access the account entity (say from case), it will open the record but it would not update the top navigation i.e. the top menu will look something like this Services >> Cases >> {your account name} record will visible

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…

Mansi Soni – Community Spotlight

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans