Stage 0, Onboarding
Knowledge-share outline
- Why every participant gets a personal namespace on a shared team Search service.
- What least privilege means here: build Search objects, no keys, no service administration.
- The onboarding + validation flow and what each result category means.
At a glance
| Start state | End state | Fallback baseline |
|---|---|---|
| Signed in, no environment yet | A tNN-pNN namespace, portal links, and access confirmed ready | Facilitator re-runs access assignment |
Why it matters
You cannot create indexes or upload documents until your identity has the right roles at the right scope. This stage gets you a durable, collision-free namespace and confirms your access is ready without creating or deleting anything.
What you will build
Nothing to build yet. You receive an environment assignment and verify it. Later stages build on the namespace you get here.
Before you start
You need a personal Microsoft account (Outlook, Hotmail, or Live) to be invited into the workshop Azure tenant. If you do not have one, create it now at signup.live.com; it takes about two minutes. A work or school address usually fails on your employer's own Conditional Access rules, and Gmail cannot redeem the invitation at all. The full explanation is on Prerequisites.
Your onboarding panel
Sign in, request your environment, and run validation right here:
Sign in with your workshop GitHub account to receive your environment.
Steps
Sign in. Use the workshop GitHub account. Your identity, and whether you are an attendee or an admin, is resolved by the backend; the page never asserts your role.
Request your environment. Select Request my environment. You receive a stable
tNN-pNNnamespace, a team resource group, and a team Search service. Requesting again on any device returns the same namespace (the assignment is idempotent). If signup is paused, wait for the facilitator to open it and try again.Read your namespace and roles. Confirm your namespace and the four role assignments you were granted (below). Note that you have no Contributor, Owner, or key access.
Grant yourself Azure access. Enter your personal Microsoft account address (prefilled from GitHub when it returns one) and select Get automatic Azure access. The backend invites that address as a guest in the workshop tenant and grants the four role assignments for you. You do not need to have been invited ahead of time, and retrying with the same address is safe: the backend looks the guest up instead of re-inviting.
The address you type here is the account you must sign in to Azure with
The invitation is bound to the exact address you typed, not to whatever account your browser is already signed into. This is the single most common way to lose ten minutes in this workshop.
- Type your personal Microsoft address above and select Get automatic Azure access.
- Open that address's inbox and accept the invitation.
- Open the Azure portal signed in as that same address. If you are already signed in as someone else, sign all the way out first, or use a private/incognito window.
The portal's "switch account" picker only lists accounts you have already signed into. It cannot add the invited identity for you.
If automatic access fails
It costs you nothing. Tell your facilitator and they will grant access for you with
assign-access.ps1while you carry on reading Stage 1. Seeazure-invite-failed.Open the portal. Follow the portal link to your resource group and Search service so you know where you will work in later stages.
Run validation. Select Run validation to see the read-only readiness check. A
Waitingon a newly assigned role is expected while Azure propagates it; wait a minute and run it again. Do not re-request anything in the meantime, it will not go faster.
While you wait for roles to propagate
Propagation is dead time you can spend productively: read Stage 1 and start sketching your schema. Stage 1 needs no Azure access at all, so you can finish it entirely while Stage 0 settles.
Portal links
Your assignment gives you deterministic resource names. Open the Azure portal and browse to:
- Resource group:
rg-dmsearch-{NN}(your team number, zero-padded). - Search service:
srch-dmsearch-{NN}-{suffix}. The{suffix}is a short uniqueness code assigned at deployment and it changes every time the workshop is redeployed, so do not try to guess it: the onboarding panel above shows your exact service name and endpoint. Your data-plane endpoint has the formhttps://srch-dmsearch-{NN}-{suffix}.search.windows.net.
The shared values that every team uses (the Foundry endpoint and model deployment names needed in Stages 5, 6, and 8) are on the Session values page.
A facilitator-shared portal deep link (with the subscription filled in) is the fastest way to open your resource group directly: https://portal.azure.com/#@<tenant>/resource/subscriptions/<subscriptionId>/resourceGroups/rg-dmsearch-{NN}/overview.
Your roles (least privilege)
You are granted exactly four role assignments across three distinct roles, and nothing broader:
| Role | Scope | Why |
|---|---|---|
| Dunder Mifflin Workshop Search Developer (custom) | Your team Search service | Create and manage Search objects (indexes, indexers, skillsets, knowledge objects). No keys, no service administration. |
| Search Index Data Contributor (built-in) | Your team Search service | Read, write, and query documents in your indexes over the data plane. |
| Reader (built-in) | Your team resource group only | See the resources you work with, without the ability to change them. |
| Reader (built-in) | The shared storage account only | Lets the account appear in the portal's Import data wizard storage-account picker in Stage 2. |
No Contributor, Owner, or keys
You do not have Contributor, Owner, User Access Administrator, or any admin/query key access, by design. Everything in this workshop is done with Entra ID (RBAC) auth. If validation reports that you inherit Contributor from outside the workshop, that is a Warning only: it is not required and you can ignore it for the labs.
Shared service, use your namespace
Your Search service is shared by the other participants on your team (up to three participants per Search service by default; the facilitator sets the exact number when they provision). Every object you create must begin with your namespace tNN-pNN-, for example t01-p01-corporate-index. That prefix is how you and your teammates stay out of each other's way on the same service. The warning is shown with an icon and the word Shared so it does not rely on color alone.
Expected output
A namespace like t01-p01, a resource group rg-dmsearch-01, a Search service endpoint, and a validation panel showing each check as Pass, Waiting, Warning, or Fail (each with an icon and a text label, never color only):
- Identity: signed in.
- Assignment: your namespace is valid and unique.
- Azure: correct tenant and subscription; your Search service is reachable; Reader present.
- Permissions: the custom developer role and data-contributor role are active; no broad access is the desired state.
- Dependencies: the shared dataset container and shared model deployment are reachable.
Checkpoint
setup-ready: You can open your team Search service in the portal and your validation panel reports access ready (a WAITING on newly assigned roles is normal; wait and re-check).
Fallback baseline
If access is not ready after propagation time, the facilitator re-runs the access assignment for your principal. Onboarding creates no Search objects, so there is nothing to reset here.
Troubleshooting
| Symptom | Meaning | What to do |
|---|---|---|
| A role shows Waiting | The role was assigned but Azure has not finished propagating it. | Wait about a minute and run validation again. This is not a failure. |
| Warning on inherited access | You have Contributor/Owner from outside the workshop. | Informational only; ignore it for the labs. |
| Fail on tenant or subscription | You are signed in to the wrong Azure tenant or subscription. | Switch to the workshop tenant/subscription and re-run. |
| Fail on permissions, but the invite was accepted | You are signed in to Azure as a different account than the one you were invited as. | Sign out completely (or open a private window) and sign in as the exact address you typed in step 4. See azure-wrong-account. |
| Fail on the Search service | The service is unreachable or not yet provisioned. | Tell the facilitator; they confirm provisioning. |
| No namespace after requesting, capacity full | Every slot is taken. | The facilitator increases capacity (redeploys with a larger environmentCount). |