Azure REST API to fetch whether AD group is existing in Azure AD

MS Techie 2,676 Reputation points
2021-11-08T17:05:40.383+00:00

Do we have a REST API to fetch whether any given AD group is existing in Azure AD.
Please share a link /example

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,581 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,459 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,366 Reputation points Microsoft Employee
    2021-11-08T23:00:48.81+00:00

    @MS Techie
    Thank you for your post!

    I don't believe this feature is possible, and based off our Azure REST API reference documentation, I didn't find any API which could fetch whether an Active Directory group exists within Azure AD. You might be able to leverage our Group resource type MS Graph REST API to get an Azure Active Directory (Azure AD) group, which can be a Microsoft 365 group, or a security group.

    However, if you'd like this feature to be implemented, I'd recommend leverage our new User Voice forum and creating a feature request so our engineering team can look into this. I've also added the microsoft-graph-groups tag to this thread so their community can take a look into this issue as well.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.