Deze content is niet beschikbaar in jouw taal.

Introduction

The Vitextra Organizational Chart does not store any employee data of its own. Everything it shows - names, job titles, manager relationships, photos and presence - is read at run time from Microsoft Entra ID through the Microsoft Graph API. For that to work, the web part needs a small set of API permissions that a tenant administrator approves once.

This article lists those permissions, explains what each of them is used for, shows how to approve them, and describes what the chart looks like when a permission is missing. It is intended for SharePoint and Microsoft 365 administrators and for security reviewers who need to assess the product before deployment.

The permissions

Organizational Chart requests three delegated permissions for Microsoft Graph:

PermissionUsed forWithout it
Directory.Read.AllReading the list of users and the manager relationship of each account - the data the hierarchy is built fromDirectory/profile loading can fail if no other granted permission covers the request
User.Read.AllReading the profile attributes shown on cards (job title, department, office location, phone numbers, address and so on) and employee photosDirectory/profile loading can fail if no other granted permission covers the request
Presence.Read.AllShowing the Microsoft Teams presence indicator (Available, Busy, Away, Do not disturb, Offline) on each cardThe chart works, but no presence indicators are displayed

All three are delegated permissions: the web part always calls Microsoft Graph on behalf of the signed-in user, never with an application identity of its own. The chart therefore never shows a visitor anything that the visitor could not see by browsing the directory in Microsoft 365 themselves - it only presents it in a more convenient form.

📝 Note
The permissions are requested at the level of the SharePoint Online Client Extensibility application principal, which all SPFx solutions in the tenant share. If another Vitextra product - for example Employee Directory - has already been approved for the same scope, the request for Organizational Chart is granted automatically and does not appear as pending.

Approving the permissions

The permission requests are registered automatically when the Organizational Chart package is deployed to the tenant App Catalog. To approve them:

  1. Sign in to the SharePoint admin center with an account that has the Global Administrator role.
  2. In the left navigation, expand Advanced and select API access.
  3. Under Pending requests, find the requests from the Organizational Chart package for the Microsoft Graph resource - Directory.Read.All, User.Read.All and Presence.Read.All.
  4. Select each request and click Approve. Confirm the approval in the panel that opens.

API access requests

API access requests

Approved permissions move to the Approved requests list, where they can be reviewed or revoked at any time.

❗ Important
Approval takes effect immediately, but users who already have the page open need to reload it. Browsers also cache the previous authorization result for a short time, so if the chart still shows an error a few minutes after approval, wait a little and refresh the page before investigating further.

💡 Tip
The complete deployment procedure - uploading the package to the App Catalog, enabling it for all sites and approving the permissions - is described in KB10035. How to Install a Vitextra Product in SharePoint Online.

What happens when a permission is missing

The three permissions fail in different ways, which helps to diagnose the problem:

  • Insufficient directory permissions. If the granted scopes do not cover the directory request, the chart cannot load employees. Instead of the tree, the web part shows the message Sorry, something went wrong. Please refresh the page and try again. with a Configure button for page editors. Approve the pending requests and reload the page.
  • Presence.Read.All not approved. The chart loads and all cards are shown, but the presence dot on photos is missing for everyone. This is the most common partial state: the two directory permissions have been approved, while the presence request was overlooked.
  • A permission was revoked after deployment. The corresponding feature may stop working. The request is removed from the API access page; a new request with the same resource and scope must be issued before it can be approved again.

The error shown when the directory cannot be loaded

The error shown when the directory cannot be loaded

📝 Note
Presence also depends on Teams availability for the person. If Microsoft Graph does not return a usable status, the card has no presence indicator. The status is fetched when the card loads and is not continuously refreshed.

Who can see the chart

Because the web part uses delegated permissions, access to the chart is governed by two things:

  • Access to the page. A visitor must be able to open the SharePoint page or the Teams tab that hosts the web part - ordinary SharePoint and Teams permissions apply.
  • Access to the directory. Every member of the organization can read basic directory information in Microsoft 365 by default, so every visitor with page access sees the same chart. Guest users, on the other hand, are not loaded into the chart and typically cannot read the full directory either.

Organizational Chart does not add any permission layer of its own: it does not hide individual employees from particular visitors, and it does not grant anyone access to data they could not read elsewhere in Microsoft 365. To keep certain accounts out of the chart entirely - service accounts, shared mailboxes, test users - use the filtering and exclusion options of the web part, described in KB10233. How to Add and Configure the Organizational Chart Web Part.

Data handling

For a security review, these points are usually relevant:

  • Employee data is read from Microsoft Graph directly by the user's browser and is not sent to Vitextra or to any third-party service.
  • A snapshot of the loaded directory is kept in the browser's local storage for up to 12 hours to speed up repeated visits; it is stored per web part instance and per browser and never leaves the device.
  • Photos and presence are requested only for the cards that are visible on screen and are not cached beyond the page session.
  • The web part contacts Vitextra servers only to verify the license status of the tenant, to load static assets such as icons, and to collect anonymous telemetry about product usage. No directory data is included in these requests.

💡 Tip
For an overview of the product, see KB10232. Organizational Chart. Solution Overview. If employees are missing from the chart even though all permissions are approved, see KB10236. Why Is Someone Missing from the Organizational Chart?.

Learn more about the product: https://vitextra.com/en/products/org-chart

Vragen en antwoorden

Stel een vraag over dit artikel en ontvang een officieel antwoord van ons team.

Er zijn nog geen vragen. Stel de eerste vraag.

Uitgelichte artikelen

Limieten en prestaties: grote borden, lange discussies en de drempel voor lijstweergaven

Naslagwerk over de limieten van Vitextra Discussions: paginering van onderwerpen, geïndexeerde kolommen, lange discussies laden, de afbeeldingslimiet van 10 MB en jaarmappen in Discussiebronnen, limieten van de moderatiewachtrij en het webonderdeel Activity, en aanbevelingen voor borden met meer dan 5.000 onderwerpen.

7 min
Het webonderdeel Vitextra Quick Poll toevoegen en configureren

Stapsgewijze handleiding voor het toevoegen van Vitextra Quick Poll aan een SharePoint Online-pagina, het maken van uw eerste poll en het instellen van de weergave, grafiek en werking via het eigenschappenvenster.

4 min
Waarom Password Vault is geblokkeerd: te vaak een onjuiste pincode ingevoerd

Problemen oplossen op het scherm voor opnieuw instellen van Vitextra Password Vault: blokkering na vijf opeenvolgende onjuiste pincodes op alle pagina’s, apparaten en in Microsoft Teams, wat opnieuw instellen verwijdert, stapsgewijs opnieuw beginnen en nieuwe blokkeringen voorkomen.

2 5 min

Delen