Repository navigation
Feature Request: Support Configurable Microsoft Graph $select Properties in Microsoft Identity Provider #55807
Franky-Jay
started this conversation in
Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
The built-in Microsoft Identity Provider currently retrieves user profile information from the Microsoft Graph
/v1.0/me/endpoint.However, administrators cannot configure additional Graph profile properties through the Keycloak Admin Console.
Some useful Microsoft Entra ID properties, such as:
onPremisesSamAccountNameonPremisesExtensionAttributesdepartmentofficeLocationrequire explicit selection through the Microsoft Graph
$selectquery parameter.As a result, these properties cannot be conveniently imported using the built-in Identity Provider Attribute Importer.
Proposed Solution
Add a configurable field to the built-in Microsoft Identity Provider:
Additional User Profile Properties (
$select)For example:
Keycloak would append these properties to the Microsoft Graph
/v1.0/me/request while preserving the existing default behavior.Expected Benefits
Example Use Case
An organization uses Microsoft Entra ID as its identity provider. It needs to map:
onPremisesSamAccountName→ Keycloak UsernameonPremisesExtensionAttributes.extensionAttribute15→ Keycloak user attributeempCodeCurrently, administrators need custom extensions or additional integration logic to retrieve these properties.
All reactions