0

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

Thanks.

  • Are you using Azure AD? – Bharat Khunti Jan 6 '18 at 13:28
  • @BharatKhunti, yes I'm using Azure AD – Fabio Valencia Jan 10 '18 at 19:40
  • then you can use Microsoft Graph API. It's best option to do – Bharat Khunti Jan 12 '18 at 7:38
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, privacy policy and cookie policy

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