Forum Discussion

Kessy Similien's avatar
Kessy Similien
Copper Contributor
Sep 25, 2016
Solved

How to get a list of all users in Office365 tenant

I have a custom form inside SharePoint online. I've been asked to create a dropdown with the first name + last name of all users in my Office 365 tenant. 

 

The only way I can think to get that information client side is Microsoft Graph but I'm having a really hard time finding simple examples that show how to use ADAL.js and Graph. All the examples I'm seeing are using Angular, NodeJS, .NET or other platforms when I just want to do simple jQuery ajax calls to Graph and parse the results into an array. 

 

Can someone point me in the right direction 

5 Replies

Resources