Option 1 – Use the Security Export/Import Process
In this option, you use the built-in Export and Import functions on the User group permissions form.
Export from STAGING- Log into STAGING system
- Go to Administration | Setup | Security | User group permissions
- Select the User group and Domain for which you want to export
- Click the Export to button
- Enter the file name and location of the export file (e.g., SalespersonExport.asg)
- Click OK
- The User group/Domain security is exported into a *.asg file
- Log into PRODUCTION system
- Go to Administration | Setup | Security | User group permissions
- Select the User group and Domain for which you want to import the new security settings
- Click the Import button
- Browse to the .asg file created in step 7 above
- Click OK
- The security settings from the .asg file are imported into the User group/Domain you selected in step 3
Option 2 – Use the Standard Export/Import Process
In this option, you use the standard built-in import/export utility and import in only the tables that you need.
Export from STAGING- Log into the STAGING system
- Log into the DAT company
- Go to Administration | Periodic
- Expand Data export/import
- Select Definition groups
- Enter a new Definition group (e.g., Security)
- Enter a Definition group name (e.g., Transfer Security Settings)
- In this example, select Standard as the Type (you can use another that you prefer)
- Click Options tab
- Select the "Include system tables" checkbox (security tables are considered system tables in AX)
- Click the Table setup button
- Only include the following tables:
- AccessRightsList* - Stores the security permissions for User groups
- UserGroupInfo* - Stores the User groups
- DomainInfo* - Stores the Domains
- UserGroupList - Stores the User group membership
- UserInfo - Stores the AX Users
- SysUserInfo - Stores the AX User option settings
- CompanyDomainList - Stores the company/domain relationship
- Click the Export to button
- Browse to a location, name, and save the file (.dat if using Standard type)
- OK
- Log into PRODUCTION system
- Log into the DAT company
- Go to Administration | Periodic
- Expand Data export/import
- Select Import
- Select the Definition group you created
- Browse to the .dat file you exported
- Ok
Important Notes:
- These are examples of a one-time transfer and where it is accepted to overwrite any security settings that may have already been created on the Production system
- You must understand the data that is stored in each of these security tables as it will overwrite your settings
- Export and import only the tables that you wish to use in the new system
- There are additional tables that could optionally be exported and imported such as usage data stored in the SysLastValue table if the circumstances were that the usage data created on the STAGING server is valuable to bring over to PRODUCTION
- When using the Standard Import/export utility, you must perform this in the DAT company as the security tables are system tables
Recommendations:
- You should create your security settings on the PRODUCTION server to avoid moving data from STAGING to PRODUCTION.
- Use option 1 if you are only moving small sets of permissions as it will require additional work and could create many export files. With this option you can only export out one User group+Domain combination at a time. Ex: If you had 5 domains, it would mean each group could have 5 export files.
- You should use the transfer options for one-time transfers of security and you should always include the tables marked with an * when one-time transfers