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 :
Customer experience | Sales, Customer Insights,...
Answered

Bulk Business unit update under system user entity

(0) ShareShare
ReportReport
Posted on by 75

Hi,

Is there a way to do bulk update of business unit lookup value under system user entity? I need to update new BU value to all the active users. 

I have the same question (0)
  • Suggested answer
    Charan Raju C R Profile Picture
    7 Moderator on at

    Hi Jayaa,

    Have you tried exporting the user records to excel and import back after changing the Business Unit column?

  • Jayaa E Profile Picture
    75 on at

    Hi Charan,

    Yes, I did. But I am getting error "duplicate lookup reference was found", even though there is no identical values.

  • Suggested answer
    Charan Raju C R Profile Picture
    7 Moderator on at

    Hi Jayaa,

    While editing Business Unit for the users in exported excel sheet, try setting Business Unit Id instead of Business Unit Name.

  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi Jayaa, 

    You can use Bulk Security Patcher tool availble on XrmToolBox to assign users to a Business Unit in Bulk. Please refer to this blog: https://dynamicmano.com/2019/07/27/xrmtoolbox-bulk-security-patcher-to-assign-users-to-teams-or-business-units-in-bulk/

  • Jayaa E Profile Picture
    75 on at

    Thank you Mehdi. This is really helpful. Just one more question, after editing the BU, will the existing security roles get vanish? Do I need to assign the roles again to the users?

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Yes, you need to assign the roles again.

    Please don't forget to verify my answers by clicking YES above. It will close this thread and help others find the answer, thank you!

  • Jayaa E Profile Picture
    75 on at

    I have just tried this. Security roles got vanished. Is there a way to retain the same security roles for the users after changing BU?

  • meelamri Profile Picture
    13,216 User Group Leader on at

    I don't know if there is a way to keep the same roles when changing a BU. Maybe someone else can give an answer to this question.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans