Follow these steps to create a Subscription in Azure: **https://how.dev/answers/how-to-create-a-microsoft-azure-subscription**
All AI Portal resources will be deployed into this Subscription.
For our resources, we require a paid (Microsoft Azure Plan, Enterprise Agreement, etc) subscription. Due to resource availability AI Portal will not work in free (Sponsored, Free Trial, Azure Student, etc) subscriptions.
1a. Once the Subscription has been created, be sure to request access to the specific models you may want to enable in your portal.
Within your Azure Subscription, navigate to: Subscription → Settings → Resource Providers
Ensure that the following resources are registered within the subscription:
| Resource Provider | Purpose |
|---|---|
| Microsoft.App | Application hosting (App Services) |
| Microsoft.CognitiveServices | AI/ML and language services |
| Microsoft.ContainerService | Kubernetes clusters (AKS) |
| Microsoft.Dashboard | Metrics Dashboard |
| Microsoft.DBforPostgreSQL | Database provisioning |
| Microsoft.Insights | Metrics Monitoring |
| Microsoft.KeyVault | Secret and credential management |
| Microsoft.ManagedIdentity | Identity and role-based access |
| Microsoft.Monitor | Workspace Monitoring |
| Microsoft.Network | Networking resources |
| Microsoft.OperationalInsights | Logging and monitoring |
| Microsoft.Storage | Storage account provisioning |
3a. Register the AI Portal application in Azure AD:
Navigate to **App registrations → New registration**
Enter the name: Multimodel AI Portal
Click Register

3b. Define App Roles:
| Display Name | Allowed Member Types | Value | Description |
|---|---|---|---|
| AI Portal Admin | Users/Groups | aiportal_admin | AI Portal administrator with elevated permissions |
| AI Portal Prompt Auditor | Users/Groups | aiportal_prompt_auditor | AI Portal user allowed to audit prompts |
| AI Portal Default Access | Users/Groups | aiportal_default_access | AI Portal member with default permissions |

3c. Limit Access to the Application: