Retrieve Active Directory Organization Units with Microsoft Graph APi

Balanjaneyulu, Kantu 0 Reputation points
2024-01-21T08:33:50.6733333+00:00

How can I retrieve the Active Directory organization units(OU) that have been synced to Azure using ADDS(Active Directory Domain Services)? According to: https://azure.microsoft.com/en-us/documentation/articles/active-directory-ds-admin-guide-create-ou/ User accounts, groups, service accounts and computer objects that you create under custom OUs will not be available in your Azure AD tenant. In other words, these objects will not show up using the Azure AD Graph API or in the Azure AD UI. These objects will only be available in your Azure AD Domain Services managed domain   So, is this just a "not possible" using Graph Api? Or is there another way? Is it possible using a different Microsoft api other than Graph?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Entra | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2024-01-21T11:46:52.44+00:00

    Hi @Balanjaneyulu, Kantu

    So, is this just a "not possible" using Graph Api? Unfortunately it's not possible , there are no APIs provided by Microsoft for Microsoft Active Directory

    Or is there another way? Is it possible using a different Microsoft api other than Graph? You can use third party tools. Below a example: ADManager Plus REST APIs


    Please don't forget to accept helpful answer


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.