Skip to main content

Notifications

Microsoft Dynamics CRM forum
Suggested answer

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

Posted on by 3,155 Moderator

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?

  • 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 3,155 Moderator 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans