This guide provides step-by-step instructions to configure and use the Corporate Directory Web Part Solution in your SharePoint tenant. This solution is designed exclusively for SharePoint sites and displays a comprehensive employee directory with search and filtering capabilities, retrieving employee information from CSVfile stored in the Document Library.
1. Prerequisites
Before setting up the web part, ensure the following:
- Document Library Setup: create a document library and upload the user information csv file in the document library.
- CSV file configuration: You must head title in the first raw and set heading is keep must raw number “LastName”, “FirstName”, “DisplayName”, “JobTitle”, “Supervisor”, “PrimaryPhone”, “SecondaryPhone”, “Email”.
- Solution Installation and Deployment
Upload Solution to the App Catalog
- Navigate to your SharePoint Admin Center.
- Go to Apps > App Catalog.
- Upload the “corporate directory. sppkg” package file to the Apps for App Catalog

- Then upload the. sppkg file to the App Catalog, choose whether to deploy the app to a single site or all SharePoint sites, and then click the ‘Enable App’ button.

- Adding the Web Part to a SharePoint Site
Add the App to the Site
- Navigate to the SharePoint site where you want to use the web part.
- Go to Site Contents >Click + New button> App.
- Select the Corporate Directory web part from theMy apps and add it to your site.
Edit the Page and Add the Web Part
- Open the SharePoint page where you want to display the Corporate Directory web part.
- Click Edit Page.
- In the web part toolbox, search for Corporate Directoryand add it to the page.

How to Configure the Corporate Directory Web Part.
- Edit Web Part Properties
- Document Library: Enter the exact name of the SharePoint document library where the CSV file is uploaded (e.g., EmployeeDirectory).
- CSV File: Enter the file name (with extension) of the uploaded CSV (e.g., employees.csv).

4. Once this step is completed, the full functionality of the Corporate Directory will be available.

- Troubleshooting Tips (Common Issues and Solutions)
No Employees Displayed:
- Verify that employee profiles are properly configured in CSV file.
- Check that the API permissions are granted in SharePoint Admin Center.
- Ensure employees have the required fields populated (name, job title, department)
- Key Notes
- This solution is exclusive to SharePoint and is not compatible with Microsoft Teams.
- Employee data updates in CSV file will reflect in the web part automatically within the configured sync interval.