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 errors after data deployment from production environment

(0) ShareShare
ReportReport
Posted on by

Hello,

A little bit of context:

We have a stage environment which contains an exact copy of the production, from a few months ago. Several differences are:

  • Different passwords for several users, including ax-service related users
  • Two or three missing users in the stage environment.


We want to refresh our stage environment with the latest data from prod and we imported and restored all the databases (Ax, AXmodel, Baseline) and even the Reports databases.

The data is there, Database sync works, but now we have user-based issues.

Issues:

  • one of the administrator accounts can no longer log on to microsoft dynamics, even if we import it again from AD
  • another normal user but with administrator rights in ax receives all kinds of errors regarding "The record cannot be modified because it has not been selected"

Good part: the main administrator can use ax without issues. (even with a different user password)

Question:

Do we have to delete some caches or import the master database from SQL server?

We tried to restore the master db, but we couldn't restore it because it doesn't recognize the single-user mode.

I guess that some unknown service (we closed all sql services from the manager) is faster than my cmd run of sqlservr or our method/commands are wrong.

Any help is appreciated

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: User errors after data deployment from production environment

    Yes, it worked.

    We had to remove and add the normal user, but the others had conflicting SIDs.

    Thank you!

  • Community Member Profile Picture
    on at
    RE: User errors after data deployment from production environment

    Thank you.

    I will reply with the results.

  • Community Member Profile Picture
    on at
    RE: User errors after data deployment from production environment

    Thank you for your reply.

    It is the same domain and should be the same default companies.

    I will check the UserInfo table.

  • André Arnaud de Calavon Profile Picture
    297,217 Super User 2025 Season 2 on at
    RE: User errors after data deployment from production environment

    Hi CodexGuy,

    Are you using different domains for the environments? As you say some passwords are different, there might be separate domains used.

    If so, how did you update the UserInfo table to know which domain is used per user?

    Can you tell more about this scenario? For the normal user, is the default company changed?

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
KP-31070522-0 Profile Picture

KP-31070522-0 3

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans