---
title: "Identity management at NewStore via Microsoft Azure Active Directory"
slug: "identity-management-at-newstore-via-microsoft-azure-active-directory-1"
tags: ["microsoft azure", "integration", "authentication", "platform", "sso"]
updated: 2024-12-10T16:46:30Z
published: 2024-12-10T16:46:30Z
canonical: "docs.newstore.com/identity-management-at-newstore-via-microsoft-azure-active-directory-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newstore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Identity management via Microsoft Entra Active Directory

## Pre-requisites

To set up an identity management application to manage authentication for NewStore apps, ensure that you have access to:

- Omnichannel Manager
- Microsoft Entra Admin Center

> [!NOTE]
> Important
> 
> To enable users from your corporate directory to be able to use the NewStore applications, you have to create users, assign them to a store, and assign relevant roles in NewStore.

## Setting up Microsoft Entra ID with NewStore

This process involves working with Microsoft Entra ID and Omnichannel Manager in tandem. Ensure you have access to both before you proceed.

1. Log into Microsoft Entra Admin Center..
2. In the navigation menu, in the `Identity` section, click `Applications` > `App registrations`.
3. Click `New registration` and enter the following details:
  - `Name`:
    - For non-production systems such as staging environments, specify `newstore-staging`.
    - For production systems, specify `newstore-production`.
  - Select `Accounts in these organizational directory only`.
  - Leave the `Redirect URI` empty.
4. Click `Register`.
5. After the application is created, in the left menu, click `API permissions`.

A list of default permissions appear.
6. Click `Add a permission` > `Microsoft Graph` > `Application permissions`.
7. Add the following permissions. Ensure that you specify the correct `Type` and `Admin` privileges.

| `API/Permission name` | `Type` | `Description` | `Admin` |
| --- | --- | --- | --- |
| `Directory.Read.All` | Application | Read directory data | Yes |
| `Group.Read.All` | Application | Read all groups | Yes |
| `Group.Member.Read.All` | Application | Read all group memberships | Yes |
8. After you have added these permissions, click `Grant admin consent for &lt;retailer name&gt;`.

The status for all permissions is updated to `Granted`.
9. In the left menu, click `Certificates &amp; secrets` > `New client secret`.
10. In the screen that appears, enter a description, set the `Expired` field to one of the provided options, and click `Add`.

> [!NOTE]
> Important
> 
> Ensure that you get notified and rotate the `client secret` before it expires. After the secret expires, the login credentials to NewStore will not work anymore. Follow the [updating guidelines](/docs/identity-management-at-newstore-via-microsoft-azure-active-directory-1#updating-client-secrets-in-omnichannel-manager) to rotate a secret.
11. The new secret is created and added to the list of `Client secrets`.

Copy the `Value` of the new secret securely for later use.

> [!TIP]
> Note
> 
> The value of the new secret can only be viewed immediately after creation. If you missed copying the `Value`, create a new secret.
12. In the left menu, click `Overview`, and copy the `Application (client) ID` and `Directory (tenant) ID` securely for later use.
13. Open the `Omnichannel Manager` in a separate tab.
14. Click `Settings` > `Users &amp; Roles` > `Single Sign-On`.
15. Click `Configure Single Sign-On`.
16. Select Vendor `MICROSOFT`.
17. Fill in the saved data from the previous configuration.
  - `Secret` from step 11
  - `Directory (Tenant) ID` and `Application (Client) ID` from step 12
18. Click `Connect`.
19. Switch back to `Microsoft Entra ID` tab.
20. In the left menu, click `Authentication` > `Platform configurations` > `Add a platform`.
21. Select `Web`.
22. Paste the `Redirect URI` and `Logout URL` from the `Omnichannel Manager` tab.
23. Click `Configure`.
24. In the left menu, click `Token configuration`, and click `Add groups claim`.
25. In the `Edit groups claim` screen, specify the following:

Click `Add`.

![](https://cdn.document360.io/c2d22fcd-a44b-4e1e-bf3a-84f0ffba0dbe/Images/Documentation/9eb7cb4b-533c-4778-9e0f-a5bbf28d8d6b.png)
  - Select `Security groups`.
  - In the `Access` area, select `Group ID` and `Emit groups as role claims`.
  - Specify the same settings as described in the previous step for the `ID` and `SAML` areas.
26. Click `Add optional claim`.

In the screen that appears, select `Access` as the `Token type`, and select the following:

Click `Add`.
  - `email`
  - `family_name`
  - `given_name`
  - `upn`
27. Repeat the same steps for `ID` as the `Token type`.

![](https://cdn.document360.io/c2d22fcd-a44b-4e1e-bf3a-84f0ffba0dbe/Images/Documentation/d170b98d-8508-4156-9a50-c50e58a477fc.png)
28. *(Optional)* To remove explicit user assignment in Microsoft Entra ID, see this [section](/v1/docs/identity-management-at-newstore-via-microsoft-entra-active-directory#optional-removing-explicit-user-assignment).

Single Sign-on is successfully configured with Microsoft Entra ID.

## Updating client secrets in Omnichannel Manager

1. Log into Microsoft Entra Admin Center (formerly Azure AD management portal).
2. In the navigation menu, in the `Identity` section, click `Applications` > `App registrations`.
3. Open the application you want to update.
4. In the left menu, click `Certificates &amp; secrets` > `New client secret`.
5. In the screen that appears, enter a description, set the `Expired` field to one of the provided options, and click `Add`.
6. The new secret is created and added to the list of `Client secrets`.

Copy the `Value` of the new secret securely for later use.

> [!TIP]
> Note
> 
> The value of the new secret can only be viewed immediately after creation. If you missed copying the `Value`, create a new secret.
7. Open `Omnichannel Manager`.
8. Click `Settings` > `Users &amp; Roles` > `Single Sign-On`.
9. Click on the displayed name `MICROSOFT`.
10. Paste the new secret value in the `Secret` form.

> [!NOTE]
> Important
> 
> Ensure that this secret exists and is valid in Microsoft Entra ID. There is no way to revert after updating the secret.
11. Click `Update`.
12. Click `Confirm`.

You have successfully rotated your secret.

## *(Optional)* Removing explicit user assignment

To remove explicit user assignment in Microsoft Entra ID:

1. Log into the Microsoft Entra Admin Center.
2. In the navigation menu, in the `Identity` section, click `Applications` > `Enterprise applications`.
3. In the list, search for the system environment (such as `newstore-staging` or `newstore-production`) and select it.
4. In the left menu, click `Properties`.
5. For the `Assignment required?` field, select `No`.

**Related topics**

- [Configuring identity and access management](/v1/docs/configuring-identity-and-access-management#config-identity-management)
- [Identity management at NewStore via Okta](/v1/docs/identity-management-at-newstore-via-okta#sso-okta)
- [Identity management at NewStore via Google Workspace](/v1/docs/identity-management-at-newstore-via-google-workspace#sso-gworkspace)
