Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to find the OU name configured in Microsoft Dynamics CRM?

(0) ShareShare
ReportReport
Posted on by 7 Super User 2024 Season 1

Hi

In one of our CRM 2015 instances, we are trying to figure out the OU name configured at the time of installation. So, can anyone help me to find the same, please?

*This post is locked for comments

  • Tech-CRM Profile Picture
    Tech-CRM 75 on at
    RE: How to find the OU name configured in Microsoft Dynamics CRM?

    Hi,

    I am able to go this path, but i don't see the file crmserversetup.log

    Please let me know if there is any other way to find the OU name. Thanks

  • Abarao Bhople Profile Picture
    Abarao Bhople 445 on at
    RE: How to find the OU name configured in Microsoft Dynamics CRM?

    Hello Charan Raju C R ,

    Is this resolved if no please try below steps.

    you may find the OU Name which you configured while installing CRM2015.

    On the CRM server (where you installed MSCRM2015)

    Navigate to below path.

    C:\Users\userID which you used to install CRM2015\AppData\Roaming\Microsoft\MSCRM\Logs\crmserversetup.log

    open this file with notepad 

    press Control+F

    Find this word :   OUDistinguishedName

    you will get the OU Name there in below format.

    OU=OU NAME-OU,DC=your domain,DC=your domain,DC=com

    hope this will help you.

    Thank you .

    Abarao Bhople

  • Charan Raju C R Profile Picture
    Charan Raju C R 7 Super User 2024 Season 1 on at
    RE: How to find the OU name configured in Microsoft Dynamics CRM?

    Thanks, Pedro.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to find the OU name configured in Microsoft Dynamics CRM?

    Hello Charan,

    I think Dynamics CRM does not saves the OU name. It stores the GUID of the groups created and then used the ID of each one to build the LDAP connection.

    You can use this query to get the reporting id if you don't know or you can see from SQL Security Logins groups that also contais the ids

    SELECT
    [ReportingGroupId], [ReportingGroupName]
    FROM [<REPLACEORGNAME_MSCRM>].[dbo].[OrganizationBase]

    AD_5F00_OU_5F00_2.PNG

    Hope this helps.
    Cheers!
    Pedro Pisco

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans