You can export a security role with all its related security setup. So, you can import and use it in another environment.


Security administrator Security administrator The security administrator (SysSecSecurityAdministrator) maintains user and security setup in D365 F&SCM, grants the ability to create and maintain security roles, duties, and privileges and the ability to assign users to roles, define role assignment rules, and maintain data security policies. Export entire security role configuration Export entire security role configuration You can export a security role with all its related security configuration. As a result, an XML file is created with the security role configuration. The XML file is stored in the Security and compliance file share workspace. You can use the XML file to import and use the security role configuration in another environment. Procedure 1. Click Security management. 2. Click the Roles tab. 3. In the list, find and select the desired security roles. 4. Click Export. 5. In the Name field, type the name for the XML file. 6. Click OK. Notes In the export, the ‘FormControlOverrides’ from the AOT privileges are not included. When you import the XML file, these ‘FormControlOverrides’ privileges are removed in the target environment. Start Start Import entire security role configuration Import entire security role configuration You can import a security role with all its related security configuration from an XML file that is exported from another environment. When the securable objects are imported from the XML file, these objects are published automatically. If dynamic snapshots are enabled, the published objects are automatically updated in the latest snapshot. Procedure 1. Click Security management. 2. Click the Roles tab. 3. Click Import. 4. Click the desired option. 5. Click OK. Notes In the XML file, the ‘FormControlOverrides’ from the AOT privileges are not included. When you import the XML file in the current environment, these ‘FormControlOverrides’ privileges are removed. Usually, export and  import is done on  different environments Usually, export and  import is done on  different environments Download XML file with exported security role configuration Download XML file with exported security role configuration If you have exported a security role configuration or customization, you can download the XML file from the Security and compliance file share workspace. Procedure 1. Click Security management. 2. Click Share. 3. Click the Exported role tab. 4. In the list, find and select the desired XML file. 5. Click Download. End End What to export? What to export? Export security role customization Export security role customization You can export a customized security role. Only the security role customizations are exported. As a result, an XML file is created with the security role customizations. The XML file is stored in the Security and compliance file share workspace. You can use the XML file to import and use the security role customizations in another environment. Procedure 1. Click Security management. 2. Click the Roles tab. 3. In the list, find and select the desired security roles. 4. Click Export role configuration. Note: You can export a security role customization only if the security role is customized. This is indicated by the 'Has customization' field. 5. In the Name field, type the name for the XML file. 6. Click OK. Usually, export and  import is done on  different environments Usually, export and  import is done on  different environments Download XML file with exported security role customization Download XML file with exported security role customization If you have exported a security role configuration or customization, you can download the XML file from the Security and compliance file share workspace. Procedure 1. Click Security management. 2. Click Share. 3. Click the Exported role tab. 4. In the list, find and select the desired XML file. 5. Click Download. Import security role customization Import security role customization You can import a customized security role from an XML file that is exported from another environment. Only the security role customizations are imported. When the securable objects are imported from the XML file, these objects are published automatically. If dynamic snapshots are enabled, the published objects are automatically updated in the latest snapshot. Procedure 1. Click Security management. 2. Click the Roles tab. 3. Click Import role configuration. 4. Click the desired option. 5. Click OK. Entire configuration Customization only

Activities

Name Responsible Description

Export entire security role configuration

Security administrator

You can export a security role with all its related security configuration.
As a result, an XML file is created with the security role configuration. The XML file is stored in the Security and compliance file share workspace.
You can use the XML file to import and use the security role configuration in another environment.

Import entire security role configuration

Security administrator

You can import a security role with all its related security configuration from an XML file that is exported from another environment.
When the securable objects are imported from the XML file, these objects are published automatically.
If dynamic snapshots are enabled, the published objects are automatically updated in the latest snapshot.

Download XML file with exported security role configuration

Security administrator

If you have exported a security role configuration or customization, you can download the XML file from the Security and compliance file share workspace.

Export security role customization

Security administrator

You can export a customized security role. Only the security role customizations are exported.

As a result, an XML file is created with the security role customizations. The XML file is stored in the Security and compliance file share workspace.

You can use the XML file to import and use the security role customizations in another environment.

Download XML file with exported security role customization

Security administrator

If you have exported a security role configuration or customization, you can download the XML file from the Security and compliance file share workspace.

Import security role customization

Security administrator

You can import a customized security role from an XML file that is exported from another environment. Only the security role customizations are imported.

When the securable objects are imported from the XML file, these objects are published automatically.

If dynamic snapshots are enabled, the published objects are automatically updated in the latest snapshot.

Provide feedback