web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Verified answer
    tw0sh3ds Profile Picture
    5,600 on at

    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.

  • Community Member Profile Picture
    on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans