{Solved} contextUserId=XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX has correct privileges but allowImpersonationOfOrganizationSystemUser == false

It’s been sometime that I have written a blog on on-premises Dynamics 365. But whenever I get a chance, I don’t miss an opportunity to write on them. Reminds me of the good old interesting days of working with Dynamics 365 on-premise.

Well, coming back to the topic. One of my customer received this error while upgrading from Dynamics 365 8.2 on-premise to Dynamics V9.1. Basically they were doing an Organization import.

And they received the error – contextUserId=XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX has correct privileges but allowImpersonationOfOrganizationSystemUser == false

Looking at the error, it is very easy to understand that the issue is because of some missing privileges. And you can just fix it by adding the user running the upgrade, as a member of privusergroup.

That’s it. Run the import again and everything shall work smooth now.

Hope this helped!

Debajit Dutta
Business Solutions MVP