Create a Role-Based SiteMap Navigation in Dynamics 365 CE


In this blog post, we will learn how to create role-based SiteMap navigation in Dynamics 365 CE. In a role-based Sitemap, we will restrict the area of Sitemap based on the security roles of a user.  

In Dynamics 365, the SiteMap provides you the structure for navigation.The system evaluates it alongside your security privileges to display navigation options within the application. If your security privileges do not provide read access to an entity laid out in the SiteMap, that navigation option will not be available to you. The <Privilege> element can also be used to specify privilege requirements to view a page that is not related to a specific entity.  

Moreover, in the SiteMap, we have areas, groups, and subareas. Selectable areas appear at the bottom of the navigation bar. When you select a certain area, it will be displayed on the navigation bar on the left. The available groups and subareas listed under that area are displayed, as shown in the following image: 

Infographic that shows The available groups and subareas listed under that area are displayed - sitemap navigation in dynamics 365

In the below image, you can see that we have multiple areas in our customer service hub, and now we will restrict these areas for users based on their security roles. 

Read More: Dynamics 365 Customer Service – Which App Is Best For My Customer?

Infographic that shows that we have multiple areas in our customer service hub - sitemap navigation in dynamics 365

Optimize Dynamics 365 CE Navigation with AlphaBOLD!

Seeking a seamless navigation experience in Dynamics 365 CE? Partner with AlphaBOLD for expert guidance in creating a role-based sitemap that enhances user efficiency.

Request a Demo

Role-Based SiteMap

To restrict navigation, we are going to perform the following steps: 

  • Create custom navigation entities so that D365 will create a custom security group for each entity. 
Infographic that shows create custom navigation entities - sitemap navigation in dynamics 365
  • Update the Base Security role for each of those groups with ‘Read’ privilege to the newly created Service navigation custom entity so that only the Service Users can access the service area. 
This infographic shows the created Service navigation custom entity
  • Next, we need to update the SiteMap privileges for all the Sub Areas.
    • In the screenshot below,  you can see that the main CRM navigation area (Service) that we are interested in hiding consists of Sub Areas, which are entities crucial to sitemap navigation in Dynamics 365.
Infographic that shows the main CRM navigation area - sitemap navigation in dynamics 365
  • To hide the Navigation Area, we need to hide all the Subarea objects. To do this, we need to set the Read privilege on the Subarea to the corresponding custom Navigation entity we created earlier. 
  • We can either export the SiteMap in the Solution RibbonDiffXML or use the out-of-the-box (OOB), SiteMap editor. This blog will focus on the second approach, the OOB Site Map Editor one. 

Unlock Seamless Navigation in Dynamics 365 CE!

Enhance user experience with our Dynamics 365 Customer Engagement services. Elevate your sitemap navigation in Dynamics 365 strategy today!

Request a Demo

SiteMap Editor

  • To set the Privilege on the SubAreas using SiteMap editor, we need to perform the following steps: 
    • First click on the gear icon on the top right corner of your application and select advance setting. 
Infographic that shows the application and select an advance setting
    • Under settings, go to My Apps and select the application in which you want to restrict the navigation area. In our case, the app name is Customer Service Hub. After selecting the application, click on more options (…)
Infographic that shows go to My Apps and select the application(Customer Service Hub)
    • Now click on the “OPEN IN APP DESIGNER” option. This will redirect you to the Power Apps App Designer page. On this page, click on “Site Map Designer” to customize the site map.
Infographic that shows the open in app designer - sitemap navigation in dynamics 365
    • Now select any of the SubAreas under Area Service. 
    • On the right side, under the properties window, click on Advance, then on Privileges. Select the entity ‘Service Navigation’ we created earlier, and then click on the “+” button.
Infographic that shows the window entity and select the entity 'Service Navigation'
    • Expand the command and check only the Read command.
Infographic that shows the only the Read command - sitemap navigation in dynamics 365
    • Perform steps 4 and 5 for all the SubAreas appearing under the Service Area. 
    • After setting the Read privilege against all the SubAreas, click on Save on the top right corner and then click on Publish. 
  • Next, log in as a user without the “Service Navigation” Read Privilege, and you will not see the Service Area.
Infographic that shows the user login without the Service Navigation Read Privilege
  • As you see in the above screenshot, the “Service” area is no more visible to the logged-in user. 
  • Complete the Privileges for the rest of the Security Groups so that the  Areas are locked down consistent with their corresponding custom navigation entity. In our case, there will be three Custom Navigation Entities: 
    • Service Navigation 
    • Service Management Navigation 
    • Scheduling Navigation 


In this blog, we have learned how to restrict sitemap navigation in Dynamics 365 areas or navigation within an app based on the security roles of a user. Firstly, we created a custom entity and, based on the privileges associated with that entity, we restricted the subareas (entities). Subsequently, we utilized the OOB Sitemap editor to set the privileges on these subareas. By following the guidelines in this blog, you can significantly improve the sitemap navigation in Dynamics 365 for any app present in your Dynamics 365 CE.

Moreover, if you wish to reset your sitemap navigation in Dynamics 365 to the default settings, you have several options at your disposal. You can use various available SiteMap editors, such as XRMToolBox and, to roll back to the default settings if necessary.  

If you have any question or queries, do not hesitate to reach out to us

Explore Recent Blog Posts

Infographics show the 2021 MSUS Partner Award winner

Related Posts

Receive Updates on Youtube