Azure AD SAML auth - 403 - Forbidden

Hi, (oh wow, sorry, I obviously don't understand how to use the </> tag..)

Spent a few hours configuring and reading the documentation, and I'm getting very close to completing the setup (I feel).
But I need some help with the final sprint.

This is on a new single Elastic/Kibana cloud deployment.

The error I'm now getting after authenticating to Kibana is:

Elastic config:
order: 2
attributes.principal: ""
attributes.groups: ""
idp.metadata.path: ""
idp.entity_id: ""
sp.entity_id: ""
sp.acs: ""
sp.logout: ""

Kibana config: [saml, basic]
server.xsrf.whitelist: [/api/security/v1/saml]
protocol: https
port: 9243

Azure Enterprise app config:
Identifier (Entity ID) -

Reply URL (Assertion Consumer Service URL) -

Added claim: - user.assignedroles

Azure Application Registration Manifest config:
"allowedMemberTypes": [
"displayName": "Superuser",
"id": "REMOVED",
"isEnabled": true,
"description": "Superuser with administrator access",
"value": "superuser"
"allowedMemberTypes": [
"description": "Kibana User",
"displayName": "Kibana User",
"id": "REMOVED",
"isEnabled": true,
"value": "kibana_user"

The application validation in Azure succeeds, and I can see the role is included in the SAML response.
But Elastic does not seem to agree, or is misconfigured somewhere.

Any ideas, or obvious issues here?

Solved it.
Had ignored the part about role mapping via API.

For reference if this happens to a future person:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.