Skip to content

Commit 863846a

Browse files
committed
docs: improve uif entra docs
1 parent 172e18b commit 863846a

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, under menu:API permissions[Add a permission > Microsoft Graph], select *Application permissions* (not *Delegated permissions*).
196+
Add `User.Read.All` and `GroupMember.Read.All`.
197+
198+
IMPORTANT: Application permissions require administrator consent. After adding the permissions, click btn:[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 menu:Certificates & secrets[Client secrets > New client secret] and copy its *Value* (not the *Secret ID*).
195205
196206
[source,yaml]
197207
----

0 commit comments

Comments
 (0)