web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

User role assignment lost after importing model store

(0) ShareShare
ReportReport
Posted on by 480

I am running into an issue when I import a model store, some of the user role assignments are lost. I have to go to the user accounts and reassign the role. Has anyone run into this before?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: User role assignment lost after importing model store

    Hi,

    If you import a model store you also import environment specific values. The security artifacts will get different ID's. So this causes your issue.

    You can try to see if you are able to repair the assignments e.g. in the table SecurityUserRole by using new security role Id's. I have not done this before as reassigning is a good option..

  • Verified answer
    Denis Macchinetti Profile Picture
    16,444 on at
    RE: User role assignment lost after importing model store

    Hi Micahel

    In addition to what André say, when you create new Roles, etc. new objects are created on AOT.

    Could be that some Roles had different names between original and destination enviroment.

  • Micahel Jaynes Profile Picture
    480 on at
    RE: User role assignment lost after importing model store

    Yep. It was mismatched ID's and names in the two environments. I had made the roles on the fly in the other system. When I imported the model store, it overwrote them with new names, hence unassigning the user assignments to those two roles. Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans