Four steps: request GPU quota, create the app registrations, deploy to Azure, then finish the post-deployment configuration.
AllFind needs two Microsoft Entra ID app registrations: a frontend (SPA sign-in plus
on-behalf-of Graph) and a backend (API and app-only indexing). Download the script below
and run it in
Azure Cloud Shell
(PowerShell) or locally after az login. It creates both registrations, adds
application Graph permissions to the backend, delegated Graph permissions
(Files.Read.All, Files.ReadWrite.All,
Sites.Read.All, Sites.ReadWrite.All,
Mail.Read, Mail.Send,
Mail.ReadWrite,
Calendars.Read, Chat.Read,
ChannelMessage.Read.All, People.Read,
User.Read) to the backend app for live Graph OBO,
exposes access_as_user on the backend API, grants the frontend that scope
(plus Graph User.Read), creates a backend secret only,
grants admin consent, then prints the values to paste here.
allfind-app-registration.txt. The frontend SPA is public (no client secret).The self-hosted deployment requires one Standard_NC24ads_A100_v4 VM, which uses
24 vCPUs from the Standard NCads_A100 v4 Family vCPUs quota. GPU capacity is
limited, so use Central US or East US 2 and deploy in the same region where
the quota is approved.
Deploy the AllFind managed application from the Azure Marketplace. Use the region approved in step 1. During the deployment wizard, enter the values below (they come from step 2).
When the deployment finishes, copy the allfind-frontend container app URL from the deployment outputs (Azure portal → your managed app → the frontend container app → Application Url) and paste it below.
The frontend app registration must allow the deployed sign-in page as a redirect URI. The script adds
https://<frontend>/auth-end as a SPA redirect URI, sets the Application ID
URI to api://<clientId>, and exposes an
access_as_user scope so Teams SSO works. It also enables access tokens, ID
tokens, and public client flows under Authentication.
az login. It targets frontend
client ID —.