For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft Graph (Entra) Settings

The Microsoft Graph (Entra) Settings section allows you to integrate WSM with Microsoft Entra ID using the Microsoft Graph API for directory synchronisation and entitlement validation.

This integration enables the portal to:

  • Retrieve user and group information

  • Synchronise Entra ID groups

  • Validate group memberships

  • Support automated entitlement workflows

  • Optionally retire devices from Microsoft Intune

The integration authenticates using an Entra-registered application configured with Application API Permissions.

Required API Permissions (Application)

Permission

Type

GroupMember.Read.All

Application

Group.Read.All

Application

User.Read.All

Application

Directory.Read.All

Application

These permissions require:

  • Tenant-wide Admin Consent

  • Potential Security Team approval depending on enterprise governance processes

Important

Do not reuse the OIDC App Registration for Microsoft Graph synchronisation.

The Graph integration uses:

  • OAuth2 Client Credentials Flow

  • Background service authentication

  • Server-to-server communication

and therefore requires Application permissions, not Delegated permissions.

Intune Integration

If enabled, WSM can also integrate with Microsoft Intune to support device lifecycle operations such as:

  • Retire Device

This requires:

  • Additional Microsoft Graph permissions

  • The relevant checkbox enabled within the WSM configuration

Verifying Microsoft Graph Connectivity

Administrators can validate Microsoft Graph connectivity and group visibility directly from the WSM server.

This can be done by:

  1. Opening an RDP session to the WSM server

  2. Running the PowerShell validation script

  3. Validating the returned group membership data

WSM also provides an internal validation endpoint:

This endpoint can be used to validate:

  • Entra ID connectivity

  • OAuth token acquisition

  • Group enumeration

  • Microsoft Graph permissions

Example Validation Script

Copy this content, modify the "Variables" and save it as, per example, "Get-GraphGroupMembers.ps1". Run it from a PowerShell session directly on a WorkSpaces Manager appliance:

Last updated