Change security permissions for admin group

April 23, 2009 at 22:51
filed under Dynamics AX
Tagged , ,

In Dynamics AX, it is not possible to change the user group permissions for admin group. This is because users in this group should always have full control over the Dynamics AX setup.

But sometime, you’ll have to change it, whatever you reason may be. One reason why you might need to change these, is because the user group permissions setup has been messed up by adding one or more new security keys, or by importing them from an xpo file. The security keys will be set to ‘No access’, and because you can’t change these for the admin group, this poses a problem.

This can easily be solved by changing the method isAdmin() on the form SysUserGroupSecurity to return false.

boolean isAdmin()
   /*if (userGroupInfo.Id == #AdminUserGroup &&
      (domainInfo.Id    == #AdminDomain || !useDomains))
       return true;

   return false;

Alternatively, if you don’t want to change your code, you can put a breakpoint on the ‘return true’ statement, and then drag/drop the pointer to return false.

1 comment

RSS / trackback

  1. Alex

    This is common, the best way to fix this is by creating a job and running:


    And this will fix/reload the security.