Forum Discussion
Kessy Similien
Sep 25, 2016Copper Contributor
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 inf...
- Sep 25, 2016
Have you seen this example: http://paulryan.com.au/2015/unified-api-adal/?
Regards
Dean_Gross
Sep 25, 2016Silver Contributor
How did you create the form? are you using a SP list? have you seen the Office UI Fabric People Picker, http://dev.office.com/fabric#/components/peoplepicker?
- Kessy SimilienSep 25, 2016Copper ContributorHey Dean,
The data is stored in a SP List but the form is all HTML. The people picker is great for the UI but I still need to be able to pull all the users in the tenant. Fabric UI won't get the data for you, just present it.- Dean_GrossSep 26, 2016Silver Contributorhave you seen this sample, https://github.com/OfficeDev/PnP/tree/07e5a1380418223952b94f32a7389b19182f5346/Components/Core.PeoplePicker