I am not getting domain groups /security groups or groups created in azure using rest Api. Is there any other method or approach to check users from groups in Active directory.


You need to query Graph API to get the information from Azure active directory. If you want to build a solution using Javascript (script editor etc), you can use the ADAL for javascript for authentication and fetching the required data from Graph.

If you are building a SharePoint framework solution, here is a good reference of calling Azure AD secured APIs from SPFx

Here is a good series on how to call the Graph API with Adal.js : https://julieturner.net/2017/01/extending-sharepoint-with-adal-and-the-microsoft-graph-api-part-2-the-authorization/

| improve this answer | |
  • Can I use this Microsoft Graph without node js or npm (simply using javascript)? – Gopal Zadafiya Jul 19 '18 at 11:40
  • Updated the answer with a reference to a blog series on using Adal.js to call graph API – Vipul Kelkar Jul 20 '18 at 4:54

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.