web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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,218 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,218 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,218 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 95 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 58 Most Valuable Professional

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 42 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans