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: docs/deploy_app_from_foundry.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ This guide explains how to deploy a chat application directly from the Microsoft
6
6
7
7
Microsoft Foundry provides a built-in capability to publish playground experiences as web applications. This accelerator deploys the required infrastructure (App Service, managed identity, networking) so you can publish directly from the Foundry playground.
8
8
9
+
> **UI note:** The new Foundry experience (the "New Foundry" toggle) does not currently show **Deploy to a web app**. Use the classic Foundry UI to publish for now. We will update this guide once the new UI supports web app deployment.
10
+
9
11
## Prerequisites
10
12
11
13
- Completed deployment of this accelerator (`azd up`)
@@ -42,6 +44,8 @@ Since all resources are deployed with private endpoints, you must access Microso
42
44
43
45
### 4. Deploy to Web App
44
46
47
+
> **UI note:** If the "New Foundry" toggle is enabled, the **Deploy to a web app** option may be hidden. Switch to the classic Foundry UI to publish the web app.
Copy file name to clipboardExpand all lines: docs/post_deployment_steps.md
+66-28Lines changed: 66 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Post Deployment Steps
2
2
3
-
After running `azd up` or `azd provision`followed by`azd hooks run postprovision`, use these steps to verify that all components were deployed correctly and are functioning as expected.
3
+
After running `azd up` or `azd provision`which then trigger the`azd hooks run postprovision`, use these steps to verify that all components were deployed correctly and are functioning as expected.
4
4
5
5
---
6
6
@@ -10,8 +10,9 @@ After running `azd up` or `azd provision` followed by `azd hooks run postprovisi
5. Open the **bronze** lakehouse and verify the `Files/documents` folder structure exists
48
-
6. In the workspace, check each lakehouse (**bronze**, **silver**, **gold**) and confirm the **Sensitivity label** matches the value set in the parameter file.
49
49
50
50
### Optional PostgreSQL Mirroring Follow-Up
51
51
52
-
End-to-end mirroring is not part of`azd up` or post-provisioning. Some steps are manual.
52
+
End-to-end mirroring is not complete when running`azd up` or post-provisioning. Some steps are manual.
53
53
54
54
For the full steps (including the Fabric portal **New item** mirror), follow [PostgreSQL mirroring](./postgresql_mirroring.md).
55
55
56
56
---
57
57
58
-
## 3. Verify Microsoft Foundry Project
58
+
## 3. Verify PostgreSQL Flexible Server (if enabled)
59
59
60
-
1. Navigate to [ai.azure.com](https://ai.azure.com)
61
-
2. Sign in and select your Microsoft Foundry project
62
-
3. Verify:
63
-
-**Models** — Check that GPT-4o and text-embedding-ada-002 (or configured models) are deployed
64
-
-**Connections** — AI Search connection should be listed
65
-
-**Playground** — Test the chat playground with a sample query
60
+
The PostgreSQL server must be in **Running** state to accept connections.
66
61
67
-
### Testing AI Search Connection in Playground
62
+
1. Navigate to **Azure Portal** → **Azure Database for PostgreSQL flexible servers**
63
+
2. Select the server created by the deployment
64
+
3. Verify the **Status** shows **Ready** and the **State** shows **Running**
68
65
69
-
1. In Microsoft Foundry, go to **Playgrounds** → **Chat**
70
-
2. Click **Add your data**
71
-
3. Select your AI Search index (`onelake-index`)
72
-
4. Ask a question about your indexed documents
66
+
### Optional: Test PostgreSQL Connectivity
73
67
74
-
If the connection fails, verify RBAC roles are assigned (see Troubleshooting section).
68
+
Use the connection details from the Azure Portal **Connection strings** blade or from your `azd` environment values.
Copy file name to clipboardExpand all lines: docs/postgresql_mirroring.md
+27-12Lines changed: 27 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@ This guide explains how to complete PostgreSQL mirroring in Microsoft Fabric aft
4
4
5
5
> **Security-critical note:** The mirroring prep script must run from a VNet-connected host when Key Vault and PostgreSQL are private. If you want to demo the full end-to-end mirroring flow from a non-VNet machine, you must temporarily open access to both Key Vault and PostgreSQL before running the script, then re-lock them afterward. Treat this as a deliberate security step, not a default configuration.
6
6
7
+
> **Resource naming note:** The AI Landing Zone submodule deploys Foundry and agent resources with an `ai-` prefix, including a separate Key Vault, Storage Account, and Cosmos DB. PostgreSQL mirroring uses the main deployment Key Vault from `keyVaultResourceId` (this is where the `postgreSql*` secrets live), not the `ai-` prefixed Key Vault. When a step says "Key Vault" in this doc, use the Key Vault from `keyVaultResourceId`.
8
+
>
9
+
> **How to find `keyVaultResourceId`:**
10
+
> - Run `azd env get-value keyVaultResourceId` from the repo root.
11
+
> - Or run `azd env get-values` and look for `keyVaultResourceId`.
12
+
> - Or in Azure Portal, open the Key Vault used for deployment and copy its **Resource ID** from the **Overview** blade.
13
+
7
14
Mirroring automation in the current branch is set for PostgreSQL deployments where `postgreSqlNetworkIsolation = false`.
8
15
9
16
For the public/manual path, this repo now supports a declarative firewall toggle through `postgreSqlAllowAzureServices`.
1. Run `azd up` and let postprovision finish (mirroring prep may fail on a non-VNet host).
40
-
2. In Azure Portal, open the Key Vault and temporarily enable public networking.
41
-
3. Re-run the prep script from your machine:
46
+
1. Run `azd up` and let postprovision finish (mirroring prep may warn on a non-VNet host).
47
+
2. Re-run the prep script from your machine (it configures PostgreSQL auth, creates the mirror user/role grants, and ensures a seed table exists for Fabric). The script will temporarily enable Key Vault public access for its own secret operations, then disable it again:
- Server: PostgreSQL FQDN from `azd env get-value postgreSqlServerFqdn`
69
+
- Database: `postgres` (or your custom DB)
70
+
- Username: `fabric_user`
71
+
- Password: the Key Vault secret value
72
+
- For full portal screenshots and walkthrough, see [Tutorial: Configure Microsoft Fabric mirrored databases from Azure Database for PostgreSQL](https://learn.microsoft.com/fabric/mirroring/azure-database-postgresql-tutorial).
73
+
74
+
6. Choose **Select data**, pick the `public.fabric_mirror_seed` table, preview the row, then select **Connect**.
75
+
7. On the next screen, name the mirror (or accept the default) and select **Create mirrored database**.
76
+
8. Verify the mirrored database appears.
77
+
9. Re-lock the Key Vault by disabling public networking after the connection succeeds.
63
78
64
79
If the database or login fails, confirm `postgreSqlAllowAzureServices = true` (or add the `0.0.0.0` firewall rule) and re-run the prep script.
0 commit comments