Post-Deployment Prerequisites
Complete these prerequisites before configuring authentication settings after deployment.
Overview
After running azd up or azd deploy, you need to:
- Access App Configuration
- Obtain application URLs
- Update app registrations with deployment-specific values
Setup App Configuration Access
Step 1: Navigate to Resources
- Sign in to Azure Portal
- Navigate to your deployment resource group
Note: For ACA deployments, you'll see an additional
ME_*resource group. For AKS, you'll seeMC_*. Access the main resource group (without prefix) for App Configuration.
Step 2: Verify Access
- Select the App Configuration resource
- Select Configuration explorer
- Attempt to view values
Step 3: Add Permissions (if needed)
If you cannot access configurations:
- Select Access control (IAM) in App Configuration
- Click + Add > Add role assignment
- Select role: App Configuration Data Owner
- Assign to your user account
- Click Review + assign
Obtain Application URLs
Azure Container Apps (Quick Start)
Chat Portal URL:
- Navigate to resource group
- Select Container App ending with
chatuica - Copy Application Url from Overview
Management Portal URL:
- Select Container App ending with
managementuica - Copy Application Url from Overview
Azure Kubernetes Service (Standard)
Chat Portal URL:
- Navigate to resource group
- Select the Kubernetes service resource
- Select Properties
- Note the HTTP application routing domain
- Chat URL:
https://<domain>/
Management Portal URL:
- Management URL:
https://<domain>/management/
Or from hosts file:
Check deploy/standard/config/hosts.ingress generated during deployment.
URLs for Redirect URIs
Record these URLs for app registration updates:
| Application | URL Pattern (ACA) | URL Pattern (AKS) |
|---|---|---|
| Chat Portal | https://<name>chatuica.<region>.azurecontainerapps.io |
https://chat.<domain> |
| Management Portal | https://<name>managementuica.<region>.azurecontainerapps.io |
https://management.<domain> |
Update Redirect URIs
After obtaining URLs, update app registrations:
Chat Portal (FoundationaLLM-User-Portal)
- Navigate to Microsoft Entra ID > App registrations
- Select FoundationaLLM-User-Portal
- Select Authentication
- Under Single-page application, add:
<CHAT_PORTAL_URL>/signin-oidc - Click Save
Management Portal (FoundationaLLM-Management-Portal)
- Select FoundationaLLM-Management-Portal
- Select Authentication
- Under Single-page application, add:
<MANAGEMENT_PORTAL_URL>/signin-oidc - Click Save
Automation Script
For Quick Start deployments, use the provided script:
cd deploy/quick-start
../common/scripts/Update-OAuthCallbackUris.ps1
This automatically updates redirect URIs based on deployed resources.
Next Steps
After completing prerequisites:
- Complete Core API Post-Deployment
- Complete Management API Post-Deployment
- Complete Authorization Post-Deployment