Unable to retrieve Active Directory Organization Units with Microsoft Graph API

Balanjaneyulu Kantu 6 Reputation points
2024-01-22T06:31:42.5233333+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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,006 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Md Asif Muztaba 320 Reputation points Microsoft Vendor
    2024-01-24T05:18:22.6166667+00:00
    0 comments No comments

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.