You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/spark/how-to-use-certsp-emit-log-to-eventhub.md
+32-12Lines changed: 32 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,17 @@ ms.date: 03/24/2025
25
25
> To complete this tutorial's steps, you need to have access to a resource group for which you're assigned the Owner role.
26
26
>
27
27
28
-
## Step 1. Create an App Registration (Service Principal)
28
+
## Step 1. Register an application
29
29
30
30
1. Sign in to the [Azure portal](https://portal.azure.com/) and go to [App registrations](/entra/identity-platform/quickstart-register-app#register-an-application).
31
-
2. Create a new app registration (Service Principal) for your Synapse workspace.
31
+
2. Create a new app registration for your Synapse workspace.
32
32
33
33
:::image type="content" source="media\how-to-use-certsp-emit-log-to-eventhub\create-a-new-app-registration.png" alt-text="Screenshot showing create a new app registration.":::
34
34
35
35
## Step 2. Generate a Certificate in Key Vault
36
36
37
37
1. Navigate to Key Vault.
38
-
2. Expand the **Odject**, and select the **Certificates**.
38
+
2. Expand the **Object**, and select the **Certificates**.
39
39
3. Click on **Generate/Import**.
40
40
41
41
:::image type="content" source="media\how-to-use-certsp-emit-log-to-eventhub\generate-a-new-certificate.png" alt-text="Screenshot showing generate a new certificate for app.":::
@@ -73,11 +73,12 @@ ms.date: 03/24/2025
73
73
74
74
## Step 6. Assign Reader Role to Linked Service in Key Vault
75
75
76
-
1. In **Key Vault**, assign the linked service a **Reader** role.
77
-
2. You can find the linked service's managed identity name and object ID under **Edit linked service**.
76
+
1. Get the workspace managed identity ID from the linked service. The **managed identity name** and **object ID** for the linked service is under **Edit Linked Service**.
78
77
79
78
:::image type="content" source="media\how-to-use-certsp-emit-log-to-eventhub\managed-identity-name-and-object-id.png" alt-text="Screenshot showing managed identity name and object id are in edit linked service.":::
80
79
80
+
2. In **Key Vault**, assign the linked service a **Reader** role.
81
+
81
82
## Step 7. Configure Logging in Synapse Notebook
82
83
83
84
1. Open your Synapse workspace and create or open a notebook.
@@ -111,16 +112,35 @@ ms.date: 03/24/2025
111
112
- **EventHub.clientId**: App registrations -> your app name -> Overview -> Application(client) ID
0 commit comments