Skip to content

Commit 125ab6c

Browse files
author
Mike Swantek
committed
Additional updates to documentation and FAQ regarding post deployment steps
1 parent 6271faa commit 125ab6c

2 files changed

Lines changed: 19 additions & 13 deletions

File tree

FAQ.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@ Run it on **Day 0**, before end-user AI workloads are deployed. Stage the script
77
Use `run.ps1 -Tags foundation,dspm` for the Purview/audit/policy modules, then `run.ps1 -Tags defender,foundry` for Defender plans and Foundry integrations. Each underlying PowerShell script is idempotent and can also be invoked individually for even finer control.
88

99
## Which steps remain manual?
10-
Microsoft has not published APIs for the Defender portal toggles ("Enable data security for AI interactions" and "Enable suspicious prompt evidence"). After the scripts run, you must flip those switches **in the portal**, then rerun the verification script to confirm the state.
10+
Several portal toggles cannot be automated via API today and must be enabled manually:
11+
12+
**In Defender for Cloud** (Azure portal → Defender for Cloud → Environment settings → [subscription] → AI services → Settings):
13+
- **Enable user prompt evidence** — Includes suspicious prompt segments in Defender alerts
14+
- **Enable data security for AI interactions** — Connects Azure AI telemetry to Microsoft Purview for DSPM for AI
15+
16+
**In Microsoft Purview** (Purview portal → DSPM for AI):
17+
- **Activate Microsoft Purview Audit** — Required for audit log ingestion (DSPM for AI → Overview → Get Started)
18+
- **Secure interactions from enterprise apps** — The KYD collection policy for enterprise AI apps (DSPM for AI → Recommendations)
19+
20+
After the scripts run, you must enable these toggles **in the portal**, then rerun the verification script (`34-Validate-Posture.ps1`) to confirm the state.
1121

1222
## Can I test the Defender scripts by toggling settings off and rerunning them?
1323
Yes—but rerunning the PowerShell will only detect that the portal toggle is off and remind you to re-enable it. It cannot flip the switch back on; do that manually in Defender for Cloud and re-run the validation script for confirmation.

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,14 @@ azd up
119119
120120
### Post-deployment manual steps
121121

122-
After automation completes, you **MUST** manually enable two settings that cannot be automated via API:
123-
124-
**1. Purview DSPM - Secure interactions for enterprise AI apps:**
125-
1. Sign in to [https://web.purview.azure.com](https://web.purview.azure.com)
126-
2. Navigate: **Data Security Posture Management for AI** > **Recommendations** > **Secure interactions for enterprise AI apps**
127-
3. Click **Enable**
128-
129-
**2. Defender for Cloud - Enable data security for AI interactions:**
130-
1. Sign in to the [Azure portal](https://portal.azure.com)
131-
2. Navigate: **Microsoft Defender for Cloud** > **Environment settings** > Select your subscription
132-
3. Under **Defender plans**, locate **AI Services** > Click **Settings**
133-
4. Toggle **Enable data security for AI interactions** to **On** > Click **Save**
122+
After automation completes, you **MUST** manually enable several settings that cannot be automated via API:
123+
124+
| Portal | Toggle | Navigation | Purpose |
125+
|--------|--------|------------|---------|
126+
| **Defender for Cloud** | Enable user prompt evidence | Azure portal → Defender for Cloud → Environment settings → [subscription] → AI services → Settings | Includes suspicious prompt segments in Defender alerts |
127+
| **Defender for Cloud** | Enable data security for AI interactions | Azure portal → Defender for Cloud → Environment settings → [subscription] → AI services → Settings | Connects Azure AI telemetry to Purview DSPM for AI |
128+
| **Microsoft Purview** | Activate Microsoft Purview Audit | Purview portal → DSPM for AI → Overview → Get Started | Required for audit log ingestion |
129+
| **Microsoft Purview** | Secure interactions from enterprise apps | Purview portal → DSPM for AI → Recommendations | KYD collection policy for enterprise AI apps |
134130

135131
**Why this matters:** Without these manual toggles, AI interaction data (prompts/responses) will NOT be captured by Purview DSPM or Defender for AI for threat detection and compliance analysis.
136132

0 commit comments

Comments
 (0)