Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM 2011 Organization id on imported organization

Posted on by Microsoft Employee

Hi,

I created a copy of my live crm in UAT by copying the database and then importing a new organization using that database. During the process, I ran the script here that updates the organization id: 

https://social.microsoft.com/Forums/en-US/b8dfb946-bb02-4fb9-a92f-22ffb8b7071c/crm-2011-import-organization-on-the-same-server-or-how-do-you-create-a-development-sandboxes?forum=crmdeployment

This worked fine, and my new instance of CRM was up and running. However, I ran this script again as I thought it had not worked properly, due to a 3rd party table not pointing to the correct organization (I was wrong...but anyway!). I am now getting the message: You do not have enough privileges to access to Microsoft Dynamics CRM object or perform the requested operation... whenever I try to open any record, even though I'm logged in as system administrator. I presume the organization id has been messed up? As it's on premise, I can query the database and see that for my system admin user, the organization id is correct. It's still got the live organization name though. 

Is there anyway of fixing this, other than importing a new organization all over again? 

Thanks.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 2011 Organization id on imported organization

    Thanks for your help, I just imported a new organization.

  • Verified answer
    tw0sh3ds Profile Picture
    tw0sh3ds 5,600 on at
    RE: CRM 2011 Organization id on imported organization

    The best thing you can do is re-importing organization, as now you will be running into unpredictable errors all the time.

    You don't have to run this script, if you don't upgrade the organization (and as far as I understand, you are on the same server, so for sure you are not). So simply take your organization, import it under different name and import organization. CRM Deployment Manager will handle the rest, don't run any scripts that are messing with the database.

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,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans