Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Change a users business unit for Online giving SQL timeout expired

(0) ShareShare
ReportReport
Posted on by 11,314 Microsoft Employee

Hi Experts,

For one of the user we are getting SQL timeout expired error. One of the reasons i can think of is that user owns huge number of records.

Is there any way we can achieve this for online ?

Thanks,

Nishant Rana

*This post is locked for comments

  • Nishant Rana Profile Picture
    Nishant Rana 11,314 Microsoft Employee on at
    RE: Change a users business unit for Online giving SQL timeout expired

    Thanks David for replying. Yes will try through reassignment.  

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Change a users business unit for Online giving SQL timeout expired

    You're right that the issue is probably because the user owns a lot of records. This is because CRM uses a derived column (owningbusinessunit) on user-owned entities, and this will have to be updated for all records in one transaction, and this can time out.

    Unfortunately, I don't think there's a simple way around this in CRM Online. One possible option is to reassign the records to a different owner, then change the user's business unit, then reassign the records back. However, you'd need to record which records were owned, so that you can reassign them back, and you'd need to build a process to do the reassigning per entity. 

    Alternatively, if the ownership of many of the owned records doesn't matter, you could try just reassigning those that don't matter, then seeing if this is sufficient to allow you the change the businessunit

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans