Skip to content

Commit 8c9bf02

Browse files
authored
docs: improve uif entra docs (#853)
* docs: improve uif entra docs * fix: replace macros with bold text for UI labels
1 parent 172e18b commit 8c9bf02

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

docs/modules/opa/pages/usage-guide/user-info-fetcher.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,17 @@ NOTE: The Entra backend was marked as non-experimental in SDP 26.3.0.
191191

192192
Fetch groups but not roles for a user from Entra.
193193

194-
NOTE: The client in Entra must use the `client_credentials` flow and requires the `User.ReadAll` and `GroupMemberShip.ReadAll` permissions.
194+
The client in Entra must use the `client_credentials` flow and requires the `User.Read.All` and `GroupMember.Read.All` permissions.
195+
To grant these, open your app registration in the Entra portal and go to *API permissions*, then *Add a permission* and *Microsoft Graph*.
196+
Select *Application permissions* (not *Delegated permissions*) and add `User.Read.All` and `GroupMember.Read.All`.
197+
198+
IMPORTANT: Application permissions require administrator consent. After adding the permissions, click *Grant admin consent for <tenant>*. Without this, the `client_credentials` flow fails with an authorization error even though the permissions are listed.
199+
200+
The values used in the configuration below can be found in the Entra portal as follows:
201+
202+
* `tenantId`: the *Directory (tenant) ID* on the app registration's *Overview* page.
203+
* `clientId`: the *Application (client) ID* on the app registration's *Overview* page.
204+
* `clientSecret`: create one under *Certificates & secrets*, then *Client secrets*, then *New client secret*, and copy its *Value* (not the *Secret ID*).
195205
196206
[source,yaml]
197207
----

0 commit comments

Comments
 (0)