---
title: "Enabling Entra ID SSO connections with your OVHcloud account"
description: "Find out how to associate your Entra ID (formerly Azure Active Directory) to your OVHcloud account using SAML 2.0"
url: https://docs.ovhcloud.com/en/guides/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad
lang: en
lastUpdated: 2025-05-15
---
# Enabling Entra ID SSO connections with your OVHcloud account

## Objective

You can use **Single Sign-On** (SSO) to connect to your OVHcloud account. To enable these connections, your account and your Entra ID (formerly Azure Active Directory) have to be configured using SAML (_Security Assertion Markup Language_) authentications.

**This guide explains how to associate your OVHcloud account with an external Entra ID.**

## Requirements

- Belong to the **Application Administrator** and **User Administrator** roles of an Entra ID service
- An [OVHcloud account](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md)


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/iam/identities/sso">SAML SSO</ManagerLink>
- **Navigation path:** <code className="action">Identity, Security & Operations</code> > <code className="action">Users</code> > <code className="action">SSO connection</code>

***


## Instructions

:::info
In order for a service provider (i.e. your OVHcloud account) to establish an SSO connection with an identity provider (i.e. your Entra ID), the essential part is to establish a mutual trust relationship by registering the SSO connection in both services.

:::

### Entra ID Users and Groups

Your Entra ID acts as your identity provider. Authentication requests by your OVHcloud account will only be accepted if it is declared as a trusted party first.

Let's focus for a moment on the identities on the identity provider side.

#### Entra ID Users

To start, go to your Entra ID dashboard.

![Entra ID Dashboard](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_dashboard.png)
Then click on `Users
` from the left-hand menu.
![Entra ID Menu User](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_menu_user.png)
Create as many users as you need, or you can just check your users clicking on them.

For this example, the user **John Smith** will be used.

![Entra ID User](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_user.png)
When an SSO authentication is performed, **John Smith**'s identity will be provided by Entra ID to the OVHcloud account. However, it is necessary that this identity contains at least one group. If no group exists, let's look at how to create one to add **John Smith** to it.

#### Entra ID Groups

Click on `Groups
` from the left-hand menu.
![Entra ID Menu Groups](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_menu_groups.png)
Click on `New group
` in the top menu, and fill in all the necessary information.
For this example, the group **manager\@ovhcloudsaml** will be used.

![Entra ID Group step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_group_1.png)
Click on the `Create
` button to display all information about this group.
![Entra ID Group step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_group_2.png)
Now, users who will be used for SSO authentication must be added to a group.

In this example, let's link the user **John Smith** with the group **manager\@ovhcloudsaml**.

In the selected group interface, click on `Members
` from the left-hand menu, then click `Add members
` in the top menu.
![Entra ID Group User Assignment step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_group_user_assignment_1.png)
Select the user to be added to this group, then click on the `Select
` button.
![Entra ID Group User Assignment step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_group_user_assignment_2.png)
Now we have a user assigned to a group.

In order to perform SSO authentications, an Entra ID application must be created.

SSO must be configured on this application.

### Entra ID applications

First of all, it is necessary to create an application if one does not yet exist.

#### Create an Entra ID application

Click on `Enterprise applications
` from the left-hand menu.
![Entra ID Menu Applications](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_menu_applications.png)
Click on `New application
` in the top menu.
![Entra ID Applications step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_applications_1.png)
Click on `Create your own application
` in the top menu.
![Entra ID Applications step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_applications_2.png)
Select the `Non-gallery
` from the left-hand menu, and click on the `Create
` button.
![Entra ID Applications step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_applications_3.png)
The details of the application will then be displayed.

![Entra ID Applications step 4](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_applications_4.png)
The Entra ID application is now created. Users who want to perform SSO authentications via this application must now be added to it.

#### Entra ID application - User assignment

:::info
In order for a user to perform an SSO authentication from an Entra ID application, it must be added to that application. It is therefore shown here how to add a user to an Entra ID application.

However, it is better to add a user group instead of users if you have **Entra ID Premium**.

:::

Click on `Users and groups
` from the left-hand menu, then click `Add user/group
` in the top menu.
Click then on the `Users
` section, select the user to add to the application, and click on the `Select
` button.
![Entra ID Application User Assignment step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_application_user_assignment_1.png)
![Entra ID Application User Assignment step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_application_user_assignment_2.png)
The application is created, a user has been assigned, all that remains is to set up the SSO via SAML.

#### Entra ID application SSO

Get back to the overview via the `Overview
` button from the left-hand menu, then click on the `Set up single sign on
` section.
![Entra ID SSO step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_1.png)
Click on the `SAML
` section.
![Entra ID SSO step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_2.png)
Click on `Upload metadata file
` in the top menu.
![Entra ID SSO step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_3.png)
Click on the `Select a file
` icon button, select the OVHcloud Service Provider metadata file and click on the `Add
` button.
You can obtain the appropriate metadata file via the following links:

- [EU region metadata](https://www.ovh.com/auth/sso/saml/sp/metadata.xml)
- [CA region metadata](https://ca.ovh.com/auth/sso/saml/sp/metadata.xml)

Download the metadata file, it will be necessary later.

![Entra ID SSO step 5](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_5.png)
The SAML configuration will be displayed.

![Entra ID SSO step 6](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_6.png)
In the `Attributes & Claims
` section, click on the `Edit
` button.
![Entra ID SSO step 9](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_9.png)
You now need to add a UPN (User Principal Name) attribute to SAML infos, in order to inform OVHcloud about the user's email. This step is mandatory.

Click on `Add a new claim
` in the top menu.
Fill in the `Name
` field with `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn`
.
Fill in the `Source attribute
` field with `user.mail
`.
Your interface should look like the following:

![Azure AD SSO saisie UPN](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_9bis.png)
Click on `Save
`.
Let's now declare the attribute for the user group.

Click on `Add a group claim
` in the top menu.
![Entra ID SSO step 10](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_10.png)
Select `Security groups
`, and **Group ID**
 from the `Source attribute
` and click on the `Save
` button.
![Entra ID SSO step 11](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_11.png)
The **groups** claim should now appear in the list.

Copy and save the **Claim name** value somewhere (i.e a notepad), it will be necessary later.

![Entra ID SSO step 12](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_12.png)
In the `SAML certificates
` section, copy the `App Federation Metadata Url
` field value.
Use this link to download the Entra ID application metadata file in order to use it later in the OVHcloud account.

![Entra ID SSO step 8](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_sso_8.png)
### Establishing OVHcloud account trust and configuring the connection

Adding your Entra ID application as a trusted identity provider is done on the SAML SSO
 page of your OVHcloud Control Panel, where you can provide the identity provider metadata.
#### Establish OVHcloud trust

Fill in the field **User Attribute Name** with the Entra ID application **UPN** claim name and enter the **groups** claim name value saved before into the field **Group Attribute Name**.

Fill in the XML metadata of your Entra ID application from the file saved before.

You can keep local users by ticking the `Keep active OVHcloud users` box.

Click on the `Confirm
` button.
![Ovhcloud SSO step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_1.png)
The trust of your Entra ID application as identity provider is thus established but you still have to add groups to your OVHcloud account.

:::warning
If you try to connect at this stage via SSO, you will probably receive a `Not in valid groups` error message.

That is because your OVHcloud account checks if the authenticating user belongs to a group that actually exists on the account.

:::

To resolve this, check the "Group" attribute that your Entra ID application returns: the **Object Id** field.

#### OVHcloud groups declaration

![Entra ID Group step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_group_2.png)
To add a group, go to the `Identities
` section, then to the `User groups
` tab. Then click the `Declare a group
`:
![Ovhcloud user management groups step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_menu_1.png)
Enter the group name and select the associated role, then click on `Confirm
`.
![Ovhcloud user management groups step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_menu_2.png)
The created group should appear on the list.

![Ovhcloud user management groups step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_menu_3.png)
Warning: if you give the `NONE` role, you will need to assign permissions to this group via the [IAM policies](/en/guides/account-and-service-management/account-information/iam-policy-ui.md).

### Connect via SSO

On the OVHcloud login page
, enter your [NIC handle](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md#what-is-my-nic-handle)
 followed by **/idp**
 without entering a password, and click the `Login
` button.
![Ovhcloud SSO Login step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_login_1.png)
You are then redirected to your Entra ID application login page. Select `Use another account
`.
![Entra ID Login step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_login_1.png)
Enter the Entra ID application user email and click on the `Next
` button.
![Entra ID Login step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_login_2.png)
Enter the Entra ID application user password and click on the `Sign In
` button.
![Entra ID Login step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/azure_ad_login_3.png)
You are now logged in with the same [NIC handle](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md#what-is-my-nic-handle), but via your Active Directory user and using your Entra ID application SSO.

![Ovhcloud SSO Login step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-azure-ad/ovhcloud_sso_login_2.png)
If your email does not appear below `Connected via SSO`, this means you have not configured the **UPN** attribute properly, and some of the features will not work in a correct manner.

## Go further

[How to use IAM policies using the OVHcloud Control Panel](/en/guides/account-and-service-management/account-information/iam-policy-ui.md).

Join our [community of users](https://community.ovhcloud.com/).
