Forum Discussion
How to generate a SharePoint List to pull users from Office 365?
Sounds like you're going to want to create an app for this. Use the MS Graph for the User Info - https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
- dgillespie-adfApr 23, 2020Brass Contributor
TimLBthanks for the reply. Taking a few steps back, create an app? As in Power Apps? Our environment is completely O365.
- TimLBApr 24, 2020Steel Contributor
dgillespie-adf Yes, that would be one way. Initiate the creation of the process via a PowerApp - collect the data you need to create the list, then trigger a PowerAutomate workflow to create the list and populate the list with the data from the User Graph API. I think the connector to create the list and pull the user data to the list may be custom connectors and would require some premium licenses to get that accomplished.
So the other app route would be to deploy PnP kind of solution that someone would have to write code to make things happen. Unfortunately, I'm not very familiar with what it would take to do this.
- ninjaryderFeb 19, 2021Copper Contributor
Without delving into learning PowerApps just yet, is there a simple way to ask Sharepoint to auto load employee information like name, email, or dept based on Azure Active Directory information?
Currently, I can search/find employees and add them to Sharepoint List column by searching for them using a company email address. We also have unique identifiers like employee numbers that I'd like to use instead.
1) How can I instruct SP to search for a person based on this number instead of their email address? 2) How can I link columns for "auto filling" subsequent columns with name, email, dept, etc from the unique number in Azure?
Appreciate your insight and thank you!