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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,8 @@ For the first attempt, the lowest-risk path is to keep Fabric and Purview disabl
65
65
| PostgreSQL mirroring | PostgreSQL enabled in the deployment with `postgreSqlNetworkIsolation = false`, then follow the post-deploy mirror steps | Database deploys, but mirroring is not completed |
66
66
| Private networking |`networkIsolation = true` and enough deployment time for private endpoint provisioning | Deployment takes longer and is harder to troubleshoot if other prerequisites are not already stable |
67
67
68
+
> **Purview note:** If you enable Purview integration, the identity running `azd` must have **Purview Collection Admin** (or equivalent) on the target collection. To ensure a collection is created or resolved, set `purviewCollectionName` so automation captures `PURVIEW_COLLECTION_ID` and the scan can be assigned.
69
+
68
70
### Choose Your Starting Path
69
71
70
72
| Goal | Recommended path |
@@ -110,7 +112,7 @@ Follow the deployment guide to deploy this solution to your own Azure subscripti
110
112
111
113
1. Run `azd auth login` and confirm the target subscription with `az account show`
112
114
2. Create a new environment and set`AZURE_SUBSCRIPTION_ID` and `AZURE_LOCATION`
113
-
3. Review `infra/main.bicepparam`, especially `principalId`, `aiSearchAdditionalAccessObjectIds`, `fabricCapacityPreset`, `fabricWorkspacePreset`, `fabricCapacityAdmins`, `purviewAccountResourceId`, `networkIsolation`, `postgreSqlNetworkIsolation`, and `postgreSqlAllowAzureServices`
115
+
3. Review `infra/main.bicepparam`, especially `principalId`, `aiSearchAdditionalAccessObjectIds`, `fabricCapacityPreset`, `fabricWorkspacePreset`, `fabricCapacityAdmins`, `purviewAccountResourceId`, `purviewCollectionName`, `networkIsolation`, `postgreSqlNetworkIsolation`, and `postgreSqlAllowAzureServices`
114
116
4. Run `azd up`
115
117
5. Follow [docs/post_deployment_steps.md](./docs/post_deployment_steps.md) to verify the deployment
Copy file name to clipboardExpand all lines: docs/deploymentguide.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ To deploy this solution accelerator, ensure you have access to an [Azure subscri
37
37
|**Microsoft Fabric**| Access to create F8 capacity and workspace, OR existing Fabric capacity ID |
38
38
|**Microsoft Purview**| Existing tenant-level Purview account resource ID |
39
39
40
+
> **Purview requirement:** The identity running `azd` must have **Purview Collection Admin** (or equivalent) on the target collection. If the collection cannot be created or resolved, scan automation will skip collection assignment.
41
+
40
42
### Region Availability
41
43
42
44
Check [Azure Products by Region](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/) to ensure the following services are available in your target region:
@@ -164,6 +166,7 @@ Edit `infra/main.bicepparam` or set environment variables:
164
166
| Parameter | Description | Example |
165
167
|-----------|-------------|---------|
166
168
|`purviewAccountResourceId`| Resource ID of existing Purview account |`/subscriptions/.../Microsoft.Purview/accounts/...`|
169
+
|`purviewCollectionName`| Optional. Purview collection name to create or resolve for scans. If blank, scripts create `collection-<env name>`. |`ai-prod-collection`|
167
170
|`fabricCapacityPreset`| Fabric capacity preset: `create`, `byo`, or `none`|`create`|
168
171
|`fabricWorkspacePreset`| Fabric workspace preset: `create`, `byo`, or `none`|`create`|
169
172
|`fabricCapacitySku`| Fabric capacity SKU (only used when `fabricCapacityPreset=create`) |`F8` (default) |
@@ -177,6 +180,11 @@ Edit `infra/main.bicepparam` or set environment variables:
Copy file name to clipboardExpand all lines: docs/post_deployment_steps.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,8 @@ If the connection fails, verify RBAC roles are assigned (see Troubleshooting sec
149
149
150
150
If `purviewCollectionName` is left empty in [infra/main.bicepparam](../infra/main.bicepparam), the automation now uses `collection-<AZURE_ENV_NAME>`.
151
151
152
+
If the identity running `azd` does not have **Purview Collection Admin** (or equivalent) on the target collection, the Purview scripts will warn and skip collection, datasource, and scan steps. Grant the role, then rerun the Purview scripts.
153
+
152
154
If you need to rerun the Purview steps after provisioning:
Copy file name to clipboardExpand all lines: docs/postgresql_mirroring.md
+15-37Lines changed: 15 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This is the most common flow when you run `azd up` from a non-VNet machine. The
34
34
35
35
### Public Access Enabled
36
36
37
-
Use this path when the PostgreSQL server has `publicNetworkAccess=Enabled`. In this repo, that corresponds to `postgreSqlNetworkIsolation = false`.
37
+
Follow this path when the PostgreSQL server has `publicNetworkAccess=Enabled`. In this repo, that corresponds to `postgreSqlNetworkIsolation = false`.
38
38
39
39
Recommended deployment settings for this path:
40
40
@@ -74,7 +74,7 @@ If the database or login fails, confirm `postgreSqlAllowAzureServices = true` (o
74
74
75
75
### Private Network or Private Endpoint
76
76
77
-
Use this path when the PostgreSQL server is private-only or Fabric cannot reach it over public networking.
77
+
Follow this path when the PostgreSQL server is private-only or Fabric cannot reach it over public networking.
78
78
79
79
You must supply a Fabric VNet gateway ID for the connection flow in this mode. The repo may add a gateway option in a future update, but today you need to bring your own gateway and set `fabricPostgresGatewayId` before creating the connection.
80
80
@@ -85,62 +85,40 @@ You must supply a Fabric VNet gateway ID for the connection flow in this mode. T
85
85
86
86
### What to Do First
87
87
88
-
If you just need the mirror working with the fewest steps, follow the **Public Access Enabled** flow above.
88
+
If you want the shortest path to a working mirror, follow the **Public Access Enabled** flow above.
89
89
90
90
If you are intentionally staying private for now, skip mirror creation for this provisioning test and continue validating the rest of the deployment.
91
91
92
92
## Recommended Repo Flow
93
93
94
-
In this repo, mirroring should be treated as a deliberate follow-up step after the main deployment completes.
94
+
In this repo, mirroring is prepared during postprovision and only needs a short manual follow-up after the main deployment completes.
95
95
96
96
That means:
97
97
98
-
1.`azd up` deploys the infrastructure and core postprovision automation.
98
+
1.`azd up` deploys the infrastructure and runs the mirroring prep automation.
99
99
2. PostgreSQL mirroring is not a required same-run success criterion.
100
-
3.If you want mirroring, run it afterward from a runner that can actually reach PostgreSQL, Key Vault, and Fabric.
100
+
3.The only required follow-up is a short manual Fabric registration step (see below).
101
101
102
102
The cleanest sequence is:
103
103
104
104
1. Run `azd up`.
105
105
2. Validate the deployment with [post_deployment_steps.md](./post_deployment_steps.md).
106
-
3.Connect to the deployed VM or another runner with PostgreSQL network reachability.
107
-
4.Run the mirroring follow-up flow, or use the manual steps above if you are not on the VNet.
106
+
3.Temporarily enable Key Vault public access (if needed) to retrieve the Fabric user secret.
107
+
4.Register the PostgreSQL connection in Fabric and create the mirror.
108
108
5. Verify the Fabric connection and mirrored database.
109
109
110
110
Running from the deployed VM is usually the least fragile option because it avoids local DNS, firewall, VPN, and endpoint-security issues.
111
111
112
-
### Follow-Up Wrapper
112
+
### Manual Follow-Up (Required)
113
113
114
-
If you want the repo-managed sequence, run:
114
+
After `azd up`, no additional scripts are required. Complete these manual steps:
# Determine Purview datasource name. If a previous script created it, fabric_datasource.env in the temp directory will contain FABRIC_DATASOURCE_NAME. If missing or empty, skip scan creation.
0 commit comments