Business+ Plan

Connect your own Azure OpenAI

This guide walks you through setting up Pashdi Business+ where your AI runs inside your own Azure subscription for full data sovereignty. Takes about 15 minutes.

1
Tenant ID
2
Prerequisites
3
Run script
4
Quota (if needed)
5
Test your bot
Overview

What the script does for you

You run one PowerShell script. It handles everything automatically:

📦 Create resource group
🧠 Deploy Azure OpenAI
🚀 Deploy GPT-4o mini
✓ Connect to Pashdi

After setup, your AI conversations go directly from Pashdi to your Azure OpenAI to Microsoft Graph. Nothing passes through Pashdi's servers.

Your data never leaves your tenant

Pashdi is the software layer only. All AI processing happens inside your own Microsoft Azure subscription under your own data processing agreement.

Step 1 of 5

Find your Azure Tenant ID

Your Azure Tenant ID identifies your organization to Pashdi. You will pass it to the setup script so the correct tenant is registered — especially important if your Microsoft account has access to multiple Azure tenants.

🌐

Method 1 — Azure Portal

Sign in to the Azure Portal, open Microsoft Entra ID (formerly Azure Active Directory), and copy the Tenant ID shown on the Overview page.

Open Entra ID Overview
💻

Method 2 — Azure CLI

If you already have Azure CLI installed (Step 2 covers installation), you can grab the ID from PowerShell:

PowerShell
PS> az login
PS> az account show --query tenantId -o tsv
00000000-0000-0000-0000-000000000000

Copy the GUID that prints — that is your Tenant ID.

Access to multiple Azure tenants?

If your account belongs to more than one Azure tenant (common for consultancies and MSPs), make sure you pick the tenant where you want Pashdi to operate. The setup script confirms this with you before registering — but it is easier to have the correct ID ready beforehand.

Step 2 of 5

Prerequisites

Before running the script, make sure you have these three things ready.

🖥

Install Azure CLI

The script uses the Azure CLI to create resources in your Azure subscription. Download and install it first.

Download Azure CLI for Windows

After installing, close and reopen PowerShell so it picks up the new command.

Verify installation
PS> az --version
azure-cli 2.x.x
If you see a version number, you are good to go.
💳

An active Azure subscription

You need an active Azure subscription (not just an Azure AD account). If your organization does not have one yet, you can create a free account with $200 credit.

Create free Azure account →

Azure AD is not the same as an Azure subscription

Your company may already use Azure AD (for Microsoft 365 login) but that does not mean you have an Azure subscription. You need a subscription to create resources like Azure OpenAI.

🔑

Azure role: Owner or Contributor

You need to be an Owner or Contributor on your Azure subscription to create resources. If you are not sure, ask your Azure administrator.

Also needed: Cognitive Services Contributor

The script registers the Microsoft.CognitiveServices provider automatically. Owner role covers all required permissions.

Allow PowerShell scripts to run

Windows blocks downloaded scripts by default. Run these two commands in PowerShell before running the setup script:

PowerShell
# Allow local scripts to run
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
 
# Unblock the downloaded script
PS> Unblock-File -Path .\Pashdi-BYOAI-Setup.ps1

Why is this needed?

Windows marks files downloaded from the internet as potentially unsafe. Unblock-File tells Windows you trust this specific file. RemoteSigned means local scripts run freely but downloaded ones must be unblocked first.

Step 3 of 5

Download and run the setup script

Download the script, then run it from PowerShell in your Downloads folder.

Download Pashdi-BYOAI-Setup.ps1

Open PowerShell, navigate to your Downloads folder, and run:

PowerShell
# Go to Downloads folder
PS> cd C:\Users\YourName\Downloads
 
# Unblock and run
PS> Unblock-File -Path .\Pashdi-BYOAI-Setup.ps1
PS> .\Pashdi-BYOAI-Setup.ps1 -AzureTenantId "YOUR-TENANT-ID-FROM-STEP-1"

The script will sign you in to Azure, select your subscription, and run 6 steps automatically. Expected output when everything works:

Expected output
====================================================
Pashdi Business+ Azure OpenAI Setup
====================================================
[1/6] Checking prerequisites...
OK Azure CLI found
[2/6] Signing in to Azure...
OK Signed in
[3/6] Creating resource group...
OK Resource group created
[4/6] Creating Azure OpenAI resource...
OK Resource created
OK API key retrieved
[5/6] Deploying model gpt-4o-mini...
OK Model deployed
[6/6] Registering with Pashdi...
====================================================
Pashdi Business+ setup complete!
====================================================
Step 4 of 5 - Only if needed

Quota issue? Here is how to fix it

New Azure subscriptions start with 0 quota for GPT-4o mini

This is a Microsoft limitation, not a Pashdi issue. New subscriptions need to request quota before they can deploy AI models. Usually takes 1-3 business days.

If the script shows a quota warning during Step 5, follow these steps:

1️⃣

Request a quota increase from Microsoft

Go to the Azure OpenAI quota page and request an increase for GPT-4o mini in your region (e.g. East US). Ask for at least 10,000 tokens per minute.

Open Azure Quota Request Page →
2️⃣

Try a different Azure region

If East US has no available quota, try another region by adding the -Location flag:

Try a different region
PS> .\Pashdi-BYOAI-Setup.ps1 -Location "westeurope"
# Other options: northeurope, westus, eastus2, southcentralus
3️⃣

Re-run the script after approval

Once Microsoft approves your quota, re-run the same script. It skips steps already completed and only deploys the model.

Safe to re-run

Every step checks if it was already completed. Re-running will not create duplicates or overwrite anything.

Step 5 of 5

Test your bot

🤖

Open bot.pashdi.com

Sign in with your Microsoft account. Your organization's bot is ready to use.

Open bot.pashdi.com →
💬

Try a test request

Type one of these to confirm your Azure OpenAI is working:

"What is my MFA status?"
"Check my account status"

Configure policies

Visit your admin dashboard to control which IT actions are available to which users.

Open Dashboard →
Troubleshooting

Common errors and fixes

ErrorCauseFix
az not recognized Azure CLI not installed or PowerShell not restarted after install Install Azure CLI then close and reopen PowerShell
not digitally signed Windows blocked the downloaded script file Run: Unblock-File -Path .\Pashdi-BYOAI-Setup.ps1
No subscriptions found Azure account has no active subscription Create a free subscription at azure.microsoft.com/free
MissingSubscriptionRegistration CognitiveServices provider not registered on the subscription Run: az provider register --namespace Microsoft.CognitiveServices --wait
Quota is 0 / deployment failed New Azure subscriptions have 0 GPT-4o mini quota by default Request quota at aka.ms/oai/quotaincrease. Takes 1-3 business days.
Model grayed out in Azure portal Region does not support GPT-4o mini or quota not yet approved Try another region: .\Pashdi-BYOAI-Setup.ps1 -Location "westeurope"
Bot still using old AI after setup Plan not yet switched to Business+ Email hello@pashdi.com with your Tenant ID and we will upgrade you manually
Good to know

Limitations of Business+

⚠ GPT-4o mini recommended

We recommend GPT-4o mini for best performance and cost. Other models may work but are not officially tested with Pashdi.

🌎 Region availability varies

GPT-4o mini is not available in all Azure regions. Try East US, West Europe, or North Europe if your region does not work.

⏳ Quota takes time

New Azure subscriptions start with 0 quota. Microsoft approval takes 1-3 business days. Plan accordingly.

💰 You pay Azure directly

Your Azure OpenAI token costs are billed by Microsoft to your subscription. Pashdi does not charge for tokens on Business+.

🔑 Keep your API key safe

The script sends your API key to Pashdi over HTTPS to store it securely. The key is never logged or shared.

🔄 Script is safe to re-run

You can re-run the script at any time to update credentials or retry after quota approval. It skips steps already done.

Need help?

If you are stuck, email us at hello@pashdi.com and include your Azure Tenant ID (shown during the script run). We will help you get set up.