Skip to main content

Notifications

Announcements

No record found.

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
    ScottDurow 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
    ara 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
    ScottDurow 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans