--- title: "Create security role" slug: "create-security-role" description: "Learn how to create and manage security roles in D365 F&SCM using the Security role wizard for effective user access control and compliance." tags: ["Task", "Security and Compliance Studio", "SCS"] updated: 2026-03-20T12:29:16Z published: 2026-03-20T17:44:30Z canonical: "docs.staedean.com/create-security-role" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Create security role All users must be assigned to at least one security role to have access to D365 F&SCM. The security roles that are assigned to a user determine the duties that the user can perform and the parts of the user interface that the user can view. You can use the **Security role wizard** to create or edit a security role. You can select the desired duties, privileges, and entry points. ### Snapshot The **Security role wizard** uses the latest snapshot as a basis. So, for the **Security role wizard** to have the best performance, make sure the latest snapshot is up to date. In the **Security and compliance studio parameters**, the **Enable dynamic snapshot** parameter exists. If set to: - **Yes**, the roles that you create with the **Security role wizard** are saved automatically in the latest snapshot. - **No**, no automatic updates are done to the latest snapshot. If you want a new role to be available for Security and Compliance Studio functions, create a new snapshot. ### Steps 1. Click **Security management**. 2. Click **Create role**. 3. Click **Next**. 4. You can use the **Security role wizard** to create a new security role or to edit an existing security role. In the **New or existing role** field, select an option. 5. If you use the **Security role wizard** to: In the **Role name** field, type or select a value. - Create e new security role, define the role name. - Edit an existing security role, select a security role. 6. In the **Role description** field, type a value. 7. You can define the extensible data security policy context string that applies to the security rule. In the **Security policy context string** field, type a value. 8. Define if you want to include duties in the security role setup. Select **Yes** in the **Include duties** field. > [!NOTE] > Note > > If you select **No**, the **All duties** step is skipped. 9. Define if you want to include privileges in the security role setup. Select **Yes** in the **Include privileges** field. > [!NOTE] > Note > > If you select **No**, the **All privileges** step is skipped. 10. Define if you want to include entry points in the security role setup. Select **Yes** in the **Include entry points** field. > [!NOTE] > Note > > If you select **No**, the **Entry points** step is skipped. 11. When you finish the **Security role wizard**, a security role is created. On creation of the security role, you can apply segregation of duties validations. Select **Yes** in the **Segregation of duties validation** field. 12. You can define the maximum access level of the securable objects that you want to include in the security role. The maximum access level limits the number of securable objects that are shown in the available objects lists. In the **Maximum access level** field, select an option. > [!NOTE] > Note > > If you edit an existing security role, the maximum access level does not remove securable objects with a higher access level from the security role. 13. Click **Next**. > [!NOTE] > Note > > You can only click **Next** if you at least have: > > - Typed or selected a value in the **Role name** field. > - Set one of these fields to **Yes**: > - **Include duties** > - **Include privileges** > - **Include entry points** 14. Sub-task: Select duties. 1. You can limit the list of available duties to only show the duties that are not allocated to a security role. Select **Yes** in the **Not linked to any roles** field. 2. You can show additional information in the list of available duties: Select **Yes** in the **Show additional details** field. - Duty identifier. - If the duty gives access to sensitive data. 3. In the **Available duties** list, select the duties that you want to include in the security role. 4. Click **Add to selection**. 5. You can exclude selected duties from the security role. You can do so for duties that never must be included in the security role. On creation of the security role, the excluded duties are not added to the security role. When you later edit the security role with the **Security role wizard**, the excluded duties are not shown in the list of available duties. In **Selected duties** list, select the duties to be excluded from the security role. 6. Click **Mark as excluded**. > [!NOTE] > Note > > To re-include an excluded duty, select the excluded duty, and click mark as included. 7. Click **Next**. 15. Sub-task: Select privileges. 1. You can limit the list of available privileges to only show the privileges that are not allocated to a: Select **Yes** in the **Not linked to any roles** field. - Security role - Duty that is allocated to a security role. 2. You can show additional information in the list of available privileges: Select **Yes** in the **Show additional details** field. - Privilege identifier. - If the privilege gives access to sensitive data. 3. In the **Available privileges** list, select the privileges that you want to include in the security role. 4. Click **Add to selection**. 5. You can exclude selected privileges from the security role. You can do so for privileges that never must be included in the security role. On creation of the security role, the excluded privileges are not added to the security role. When you later edit the security role with the **Security role wizard**, the excluded privileges are not shown in the list of available privileges. In **Selected privileges** list, select the privileges to be excluded from the security role. 6. Click **Mark as excluded**. > [!NOTE] > Note > > To re-include an excluded privilege, select the excluded privilege, and click mark as included. 7. Click **Next**. 16. Sub-task: Select entry points. 1. You can filter the Available entry points list by module. In the **Module** field, enter or select a value. 2. You can show additional information in the list of available entry points: Entry point name. Select **Yes** in the **Show additional details** field. 3. In the **Available entry points** list, select the entry points that you want to include in the security role. 4. Define with which access level you want to add the entry points to the security role. In the **Move with:** field, select an option. 5. Click **Add**. 6. You can exclude selected entry points from the security role. You can do so for entry points that never must be included in the security role. On creation of the security role, the excluded entry points are not added to the security role. When you later edit the security role with the **Security role wizard**, the excluded entry points are not shown in the list of available entry points. In the **Selected entry points** list, select the entry points to be excluded from the security role. 7. Click **Mark as excluded**. > [!NOTE] > Note > > To re-include an excluded entry point, select the excluded entry point, and click mark as included. 8. Click **Next**. 17. Click **Finish**.