Skip to content

Commit c1a99af

Browse files
committed
Updates to SP process
1 parent a613b7f commit c1a99af

File tree

3 files changed

+33
-18
lines changed

3 files changed

+33
-18
lines changed
Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Create a service principal in Azure
3-
description: This article describes how you can create a service principal in Azure
2+
title: Create a service principal in Azure.
3+
description: This article describes how you can create a service principal in Azure for use with Microsoft Purview.
44
author: athenads
55
ms.author: athenadsouza
66
ms.service: purview
77
ms.subservice: purview-data-catalog
88
ms.topic: how-to
9-
ms.date: 12/02/2022
9+
ms.date: 03/24/2023
1010
# Customer intent: As an Azure AD Global Administrator or other roles such as Application Administrator, I need to create a new service principal, in order to register an application in the Azure AD tenant.
1111
ms.custom: ignite-fall-2021
1212
---
1313

14-
# Creating a service principal
14+
# Creating a service principal for use with Microsoft Purview
1515

16-
You can create a new or use an existing service principal in your Azure Active Directory tenant.
16+
You can create a new or use an existing service principal in your Azure Active Directory tenant to use to authenticate with other services.
1717

1818
## App registration
1919

@@ -22,58 +22,73 @@ You can create a new or use an existing service principal in your Azure Active D
2222

2323
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-aad.png" alt-text="Screenshot that shows the link to the Azure Active Directory.":::
2424

25-
1. Select **App registrations** and **+ New registration**
25+
1. Select **App registrations** and **+ New registration**.
2626

2727
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-new-reg.png" alt-text="Screenshot that shows the link to New registration.":::
2828

2929
1. Enter a name for the **application** (the service principal name).
3030

3131
1. Select **Accounts in this organizational directory only**.
3232

33-
1. For **Redirect URI** select **Web** and enter any URL you want; it doesn't have to be real or work.
33+
1. For **Redirect URI** select **Web** and enter any URL you want. If you have an authentication endpoint for your organization you want to use, this is the place. Otherwise `https://example.com/auth` will do.
3434

3535
1. Then select **Register**.
3636

3737
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-register.png" alt-text="Screenshot that shows the details for the new app registration.":::
3838

39+
1. Copy the **Application (client) ID** value. We'll use this later to create a credential in Microsoft Purview.
40+
3941
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-new-app.png" alt-text="Screenshot that shows the newly created application.":::
4042

4143
## Adding a secret to the client credentials
4244

43-
1. Select the app from the **App registrations**
45+
1. Select the app from the **App registrations**.
4446

4547
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-app-select.png" alt-text="Screenshot that shows the app for registration.":::
4648

47-
1. Select **Add a certificate or secret**
49+
1. Select **Add a certificate or secret**.
4850

4951
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-add-secret.png" alt-text="Screenshot that shows the app.":::
5052

51-
1. Select **+ New client secret** under **Client secrets**
53+
1. Select **+ New client secret** under **Client secrets**.
5254

5355
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-new-client-secret.png" alt-text="Screenshot that shows the client secret menu.":::
5456

55-
1. Provide a **Description** and set the **Expires** for the secret
57+
1. Provide a **Description** and set the **Expires** for the secret.
5658

5759
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-secret-desc.png" alt-text="Screenshot that shows the client secret details.":::
5860

61+
1. Copy the value of the **Secret value**. We'll use this later to create a secret in Azure Key Vault.
62+
5963
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-client-secret.png" alt-text="Screenshot that shows the client secret.":::
6064

61-
1. Copy the value of **Client credentials** from **Overview**
65+
## Adding the secret to your Azure Key Vault
6266

63-
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-client-cred.png" alt-text="Screenshot that shows the app Overview.":::
67+
To allow Microsoft Purview to use this service principal to authenticate with other services, you'll need to store this credential in Azure Key Vault.
6468

65-
## Adding the secret to the key vault
69+
* If you need an Azure Key vault, you can [follow these steps to create one.](../key-vault/general/quick-create-portal.md)
70+
* To grant your Microsoft Purview account access to the Azure Key Vault, you can [follow these steps](manage-credentials.md#microsoft-purview-permissions-on-the-azure-key-vault).
6671

67-
1. Navigate to your **Key vault**
72+
1. Navigate to your **Key vault**.
6873

6974
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-key-vault.png" alt-text="Screenshot that shows the Key vault.":::
7075

7176
1. Select **Settings** --> **Secrets** --> **+ Generate/Import**
7277

7378
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-generate-secret.png" alt-text="Screenshot that options in the Key vault.":::
7479

75-
1. Enter the **Name** of your choice and **Value** as the **Client secret** from your Service Principal
76-
80+
1. Enter the **Name** of your choice, and save it to create a credential in Microsoft Purview.
81+
82+
1. Enter the **Value** as the **Secret value** from your Service Principal.
83+
7784
:::image type="content" source="media/create-service-principal-azure/create-service-principal-azure-sp-secret.png" alt-text="Screenshot that shows the Key vault to create a secret.":::
7885

79-
1. Select **Create** to complete
86+
1. Select **Create** to complete.
87+
88+
## Create a credential for your secret in Microsoft Purview
89+
90+
To enable Microsoft Purview to use this service principal to authenticate with other services, you'll need to follow these three steps.
91+
92+
1. [Connect your Azure Key Vault to Microsoft Purview](manage-credentials.md#create-azure-key-vaults-connections-in-your-microsoft-purview-account)
93+
1. [Grant your service principal authentication on your source](microsoft-purview-connector-overview.md) - Follow instructions on each source page to grant appropriate authentication.
94+
1. [Create a new credential in Microsoft Purview](manage-credentials.md#create-a-new-credential) - You'll use the service principal's application (client) ID and the name of the secret you created in your Azure Key Vault.
34 Bytes
Loading
264 Bytes
Loading

0 commit comments

Comments
 (0)