Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2011 Organization id on imported organization

(0) ShareShare
ReportReport
Posted on by

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
    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
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans