How To Create Graph API With Permissions For Employee Directory API Configuration
In Employee Directory application graph API is used to exclude block users, exclude users hidden in GAL, in syncing Azure images, in syncing mobile numbers from Active Directory and in syncing AD properties.
Note: Global Admin access is required to configure Azure API
- Register app in azure portal with below link Azure portal.
- Select App registrations.
- Select New application registration.
- Provide any name and finally click on Register button. You have created your Azure AD application.
7. Select API permissions and assign Graph User.Read.All (only read permissions are required) permission.
- Click on Add permissions.
- Click on Grant admin consent.
- Click on Authentication from side panel, then on Add a platform button, Configuration platforms opens and select the single page application. Provide employee directory application URL up to Home.aspx from browser URL box and click on configure button.
https://Contoso-5aa2f9508511c7.sharepoint.com/sites/Sitename/EDP/Pages/Home.aspx
- Select the Access tokens & ID tokens and click on save icon
Now click on overview from side navigation panel and copy the Application ID
- Copy ‘Application (client)ID’ and paste it in client ID field of MSAL in Employee directory settings and finally click on submit button, permission requested window opens, select the check box and click on Accept button as shown in below images
Note: In case if fails to connect please refresh the browser and try again.
Recent Updates
SharePoint Add-ins are retiring: Welcoming the SharePoint SPFx Solutions web parts
Microsoft’s evolution in content and process automation has taken a significant leap with the SharePoint…..

Unlocking Efficiency: Enhancing Performance Management with SharePoint-based Software
Welcome, HR professionals! Are you looking for a user-friendly and efficient solution to…

Fostering Seamless Employee Onboarding – Your Definitive Handbook
Welcome, HR professionals! Are you looking for a user-friendly and efficient solution to streamline your performance management processes?

How to Create a SharePoint Ticketing System: A Step-by-Step Guide
In today’s fast-paced business environment, efficient issue tracking and support ticket management……

Seamlessly Integrate SharePoint Framework Web Parts in Microsoft Teams
Collaboration and seamless integration are critical in today’s digital environment for increasing productivity…

How to deploy SPFx web part on SharePoint Online
Microsoft’s SharePoint Framework (SPFx) client web component is a development approach for building…

How to setup SharePoint Framework development environment to develop SharePoint custom web parts and Microsoft Teams Apps
Developing custom web parts and Microsoft Teams applications with SharePoint Framework (SPFx) requires…

Creating Your First SPFx Client-Side Web Part
SharePoint framework (SPFx) is a powerful development model provided by Microsoft for building client-side…

How to create an Employee Directory in SharePoint
Nobody wants to go through with the tons of paperwork and manual approach nowadays. Business success…