How can I to get my AD groups info (Id, Name), from an app js on SharePoint Online?


  • Are you using Azure AD? Jan 6, 2018 at 13:28
  • @BharatKhunti, yes I'm using Azure AD Jan 10, 2018 at 19:40
  • then you can use Microsoft Graph API. It's best option to do Jan 12, 2018 at 7:38

1 Answer 1


You cannot do LDAP lookups with JS. However, with the Graph API, you can do CRUD operations on Azure AD Groups. JavaScript examples are included in the article.

Active Directory groups may be synchronized with Azure AD, depending on how Azure AD Connect was configured.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.