Skip to content

Commit a421846

Browse files
commit
1 parent c62a9ff commit a421846

2 files changed

Lines changed: 10 additions & 40 deletions

File tree

docs/ConfigureAppAuthentication.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
# Set up Authentication in Azure Container App
22

3-
> ### ✅ Recommended: run the authentication script first
4-
>
5-
> `azd up` no longer runs authentication setup automatically. Run the script below after deployment:
6-
>
7-
> **Windows:**
8-
> ```powershell
9-
> ./infra/scripts/setup_auth.ps1
10-
> ```
11-
>
12-
> **macOS/Linux:**
13-
> ```bash
14-
> bash ./infra/scripts/setup_auth.sh
15-
> ```
16-
>
17-
> See [DeploymentGuide.md § 5.3](./DeploymentGuide.md#53-configure-authentication-manual-script) for step-by-step instructions.
18-
>
19-
> Follow the portal/manual steps below if:
20-
> - Your tenant policy prohibits programmatic app registration or secret creation
21-
> - The script reports a permission or policy failure that cannot be resolved in your current identity
3+
This guide describes the portal/manual steps to configure authentication after deployment.
4+
5+
Use this path when:
6+
- Your tenant policy prohibits programmatic app registration or secret creation
7+
- Script-based setup is not available in your current identity
228

239
This document provides step-by-step instructions to configure Azure App Registrations for the front-end and back-end applications.
2410

docs/DeploymentGuide.md

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -349,31 +349,15 @@ After schema registration completes, upload the sample bundles as a separate exp
349349
bash ./infra/scripts/upload_sample_data.sh
350350
```
351351

352-
### 5.3 Configure Authentication (Manual Script)
352+
### 5.3 Configure Authentication (Portal)
353353

354-
Run authentication setup as an explicit step after post-deployment data setup:
354+
Configure authentication as an explicit step after post-deployment data setup by following:
355355

356-
**Windows (PowerShell):**
357-
358-
```powershell
359-
./infra/scripts/setup_auth.ps1
360-
```
361-
362-
**macOS/Linux:**
363-
364-
```bash
365-
bash ./infra/scripts/setup_auth.sh
366-
```
367-
368-
The auth script is idempotent and performs preflight validation before making changes.
369-
370-
#### Required Permissions for auth setup
356+
- [Set up Authentication in Azure Container App](./ConfigureAppAuthentication.md)
371357

372-
- Create/update app registrations: **Application Administrator**, **Cloud Application Administrator**, or **Global Administrator**
373-
- Grant admin consent: **Cloud Application Administrator** or **Global Administrator**
374-
- Update Container Apps auth/secret settings: **Contributor** on the deployment resource group
358+
If your tenant policy blocks automatic app registration/secret creation in the portal flow, use:
375359

376-
If permissions are insufficient, the script exits early (or warns before consent) with clear remediation guidance.
360+
- [Manual App Registration Configuration](./ManualAppRegistrationConfiguration.md)
377361

378362
> **Note:** EasyAuth can take up to 10 minutes to fully propagate. If the Web app returns 500/401 immediately after setup, wait a few minutes and retry.
379363

0 commit comments

Comments
 (0)