Install the Security Development Tool (AX 2012)
**Note: **This is pre-release documentation of a preliminary nature and is subject to change at any time without notice. Microsoft cannot guarantee the accuracy of any information provided herein. Before you install the Security Development Tool, be aware that we assume that you meet the following prerequisites:
- You are familiar with the development environment in Microsoft Dynamics AX 2012.
- You are familiar with the security model in Microsoft Dynamics AX 2012.
- You have developer privileges in Microsoft Dynamics AX, so that you can run the tool from the Application Object Tree (AOT).
Important: Some optional features of the Security Development Tool require that changes be made to framework classes, or that tracing be enabled. These changes can affect the overall performance of your Microsoft Dynamics AX system. Therefore, we recommend that you use this tool only in development or test environments.
This section lists the procedures required to install and configure the Security Development Tool.
Install the tool
- Download the SecurityDevelopmentTool.msi from the Downloadable tools of Microsoft Dynamics Lifecycle Services (note that the Downloadable tools is only accessible if you log in to LCS with a Microsoft account; it will not be shown if you sign in with an organizational account)
- Run SecurityDevelopmentTool.msi to open the Installation Wizard.
- Accept the Microsoft Software License Terms, and then click Install.
- When a message indicates that the tool has been successfully installed, click Finish. After the Installation Wizard has finished running, the files are available at the following locations:
- For 64-bit systems: %ProgramFiles (x86)%MicrosoftSecurity Development Tool
- For 32-bit systems: %ProgramFiles%MicrosoftSecurity Development Tool
Import and compile the tool
Drain the client connections from the instance of Application Object Server (AOS) that you are working with. For more information, see Drain users from an AOS.
Go to Administrative Tools, click Services, and stop the Microsoft Dynamics AX Object Server 6.0 service.
Use Windows PowerShell or AXUtil to import the SecurityDevelopmentTool.axmodel model into the Microsoft Dynamics AX AOT.
On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
At the Windows PowerShell command prompt, PS C:>, type the following command, and then press ENTER.
Install-AXModel -File “C:\Program Files (x86)\Microsoft\Security Development Tool\SecurityDevelopmentTool.axmodel”
For more information, see How to: Export and Import a Model.
Start the Microsoft Dynamics AX Object Server 6.0 service.
Start the Microsoft Dynamics AX client. The Model store has been modified dialog box opens.
Click Compile and Synchronize.
When synchronization is completed, press Ctrl+Shift+W to open a Development Workspace.
Run the SysSecEntryPointManagerSetup class to add the following menu items to the standard Microsoft Dynamics AX menus.
Menu item Menu SysSecRoleEntryPointDeveloper SysContextMenu (AOT Add-Ins) SysSecRoleEntryPoint System AdministrationSetupSecurity