Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

error RoleAlreadyExists 0x80041403 at Environment migration

Posted on by

Hello everyone,

we are trying to migrate from dynamics crm on-premise 8.2 to 9.1, but we are encountering an error.

The error seems related to security roles, specifically to our System adapter (Systemanpasser for us) which result already existing in the new environment.

After searching in our database, specifically in dbo.RoleBase table, we found out that the role Systemanpasser appears twice for every BusinessUnitId. We think this might be the problem. Weird is also, that some of the doubled Systemanpasser rows have NULL value in the /CreatedBy/ field.

Unfortunately the environment was created long time ago and I started only recently to work on this and don't know my way around too well.

Am I looking at the right thing here, in dbo.RoleBase? What could cause double entries in our database?

here´s a snippet of our DB result

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans