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/purview/register-scan-synapse-workspace.md
+42-5Lines changed: 42 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: viseshag
6
6
ms.service: purview
7
7
ms.subservice: purview-data-map
8
8
ms.topic: how-to
9
-
ms.date: 03/14/2022
9
+
ms.date: 08/10/2022
10
10
ms.custom: template-how-to, ignite-fall-2021
11
11
---
12
12
@@ -235,16 +235,14 @@ GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[scoped_credential] TO [PurviewA
235
235
236
236
1. In the Azure portal, go to the Azure Synapse workspace.
237
237
238
-
1. On the left pane, select**Firewalls**.
238
+
1. On the left pane, select**Networking**.
239
239
240
240
1. For **Allow Azure services and resources to access this workspace** control, select**ON**.
241
241
242
242
1. Select**Save**.
243
243
244
244
> [!IMPORTANT]
245
-
> Currently, we do not support setting up scans for an Azure Synapse workspace from the Microsoft Purview governance portal, if you cannot enable **Allow Azure services and resources to access this workspace**on your Azure Synapse workspaces. In this case:
246
-
>- You can use [Microsoft Purview REST API - Scans - Create OrUpdate](/rest/api/purview/scanningdataplane/scans/create-or-update/) to create a new scan for your Synapse workspaces including dedicated and serverless pools.
247
-
>- You must use **SQL Auth**as authentication mechanism.
245
+
> Currently, if you cannot enable **Allow Azure services and resources to access this workspace**on your Azure Synapse workspaces, when set up scan on Microsoft Purview governance portal, you will hit serverless DB enumeration failure. In this case, to scan serverless DBs, you can use [Microsoft Purview REST API - Scans - Create OrUpdate](/rest/api/purview/scanningdataplane/scans/create-or-update/) to set up scan. Refer to [this example](#set-up-scan-using-api).
248
246
249
247
### Create and run scan
250
248
@@ -275,6 +273,45 @@ To create and run a new scan, do the following:
275
273
276
274
[!INCLUDE [create and manage scans](includes/view-and-manage-scans.md)]
277
275
276
+
### Set up scan using API
277
+
278
+
Here is an example of creating scan for serverless DB using API. Replace the `{place_holder}`and`enum_option_1 | enum_option_2 (note)` value with your actual settings.
279
+
280
+
```http
281
+
PUT https://{purview_account_name}.purview.azure.com/scan/datasources/<data_source_name>/scans/{scan_name}?api-version=2022-02-01-preview
To schedule the scan, additionally create a trigger for it after scan creation, refer to [Triggers - Create Trigger](/rest/api/purview/scanningdataplane/triggers/create-trigger).
314
+
278
315
## Next steps
279
316
280
317
Now that you've registered your source, follow the below guides to learn more about Microsoft Purview and your data.
0 commit comments