Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Active Directory and CRM Online Business Units

(0) ShareShare
ReportReport
Posted on by 35

I am trying to sync Active Directory users with CRM Online Business Units.  I want to use AD security groups (or similar) to organize and manage  users into their correct business units and then utilize DirSync so that those users  and relationships sync to CRM Online Business Units.  This will allow me to manage the user -> Business Unit relationship in one place (AD).   We use an on-premise ADFS server for SSO with Office 365.

I read this article and was able to assign an AD security group as the default group for our CRM Sandbox instance but this wasn't enough.  Can anyone help?  Many thanks.

*This post is locked for comments

  • Suggested answer
    ScottDurow Profile Picture
    19 on at
    RE: Active Directory and CRM Online Business Units

    Hi - it is a shame that you can't sync these two however the two models are very different that I understand why they are not linked. You will have to manage the two separately unless you create your own custom program.

    Hope this helps

  • ara Profile Picture
    35 on at
    RE: Active Directory and CRM Online Business Units

    Thanks Scott, that's a shame as AD security groups sync nicely to o365 - we can link an AD security group with a SharePoint group so I thought the same could be done with CRM Business Units.

    So does this mean we need to manage our user to business unit relationships in multiple places?

  • Suggested answer
    ScottDurow Profile Picture
    19 on at
    RE: Active Directory and CRM Online Business Units

    Hi,

    There is no out of the box for syncing business units from AD to CRM business units - the only link is the AD Group to CRM org user assignment as you have already found.

    You could always create a custom sync program that uses the SDK to assign the user's business unit and Role depending on an AD property/group. You must remember that if you change a user's business unit, then all of their assigned roles will need re-assigning.

    Hope this help,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,079 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,860 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans