> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/integrations/sso/sp-azure-ad-saml-configuration-for-aqua-sso.md).

# SP: Azure AD SAML configuration for aqua SSO

Azure AD SAML configuration for aqua SSO

1\. Create an application in Azure AD as Non-Gallery and assign it a custom name. This name will later be required as the Entity ID, which we will add in aqua. [See Microsoft documentation for instructions.](https://learn.microsoft.com/en-us/entra/identity/saas-apps/saml-toolkit-tutorial)

2\. Configure the URLs:

![Edit Basic SAML Configuration](/files/yShvoKDl2xQ2TdeSvsA8)

• Login URL: https\://\<aqua-server>/aquaWebNG/Account/saml2-acs

• Logout URL: https\://\<aqua-server>/aquaWebNG/Account/saml2-logout

3\. aqua allows login only via username. If the username should be defined as the beginning of the email address (everything before '@'), a new claim with \`extractmailprefix\` from \`user.principalname\` must be added and a transformation applied. [See documentation for additional claims.](https://learn.microsoft.com/en-us/entra/identity-platform/saml-claims-customization)

Then you need to provide us with the **full claim name**. It usually starts with *<http://schemas.xmlsoap.org>...*

4\. The XML metadata file and certificates (at the moment aqua only supports the metadata having one certificate inside, the one that is used for signing the saml response) must also be provided if they are not globally trusted.

![](/files/2TDxannqCk87vGFYEGS5)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aqua-cloud.io/documentation/integrations/sso/sp-azure-ad-saml-configuration-for-aqua-sso.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
