Facilitator guide
This is the run guide for delivering the Azure AI Search workshop. It complements the admin dashboard, which shows the live room: who has signed in, which environment each attendee holds, and whether their Azure access is ready.
Timing below is expressed as elapsed minutes from the start of the session ("0:00"), not as a fixed wall-clock time. Adjust to your actual start and read the numbers as targets, not deadlines.
Time budget
Total participant budget is 120 minutes with no built-in slack, so pacing is deliberate. These numbers are the same ones on the agenda; change them in one place and they change in both.
| Stage | Title | Target | Elapsed target |
|---|---|---|---|
| 0 | Onboarding | ~20 min | 0:00 to 0:20 |
| 1 | Explore the archive | ~10 min | 0:20 to 0:30 |
| 2 | Build the index | ~25 min | 0:30 to 0:55 |
| 3 | Validate ingestion | ~10 min | 0:55 to 1:05 |
| 4 | Find something | ~15 min | 1:05 to 1:20 |
| 5 | Enrich with AI | ~20 min | 1:20 to 1:40 |
| 6 | Foundry IQ | ~15 min | 1:40 to 1:55 |
| 7 | Architecture recap | ~5 min | 1:55 to 2:00 |
Two notes on why the budget is shaped this way:
- Stage 0 gets 20 minutes, not 15. Attendees now invite themselves into the tenant, which means a guest invitation, an inbox round-trip, and RBAC propagation, none of which respond to encouragement. Start onboarding the moment people arrive and cover the scenario and the Stage 1 concepts while it settles, so the wait overlaps with content instead of stalling the room.
- Stage 3 gets 10 minutes, not 15 or 20. Since Stage 2's Import data wizard creates the data source and indexer and runs them, Stage 3 no longer builds anything; it is a read-back and verification stage. Do not pad it, spend the time on Stage 2 where the clicking actually is.
Stage 8 (vector and hybrid search) is an optional stretch of roughly 20 minutes that sits outside this budget. Do not start it unless you are comfortably ahead at 1:55; it is better handed out as homework than rushed.
Expected resource names
Every object an attendee creates is prefixed with their namespace (tNN-pNN, for example t04-p02). When you help someone, ask for their namespace first, then confirm these names in the portal. {ns} below stands for that attendee's namespace.
| Object | Expected name | Created in stage |
|---|---|---|
| Index | {ns}-corporate-index | 2 (Import data wizard) |
| Data source | {ns}-corporate-datasource | 2 (Import data wizard) |
| Indexer | {ns}-corporate-indexer | 2 (Import data wizard), verified in 3 |
| Skillset | {ns}-corporate-skillset | 5 |
| Knowledge source | {ns}-corporate-knowledge-source | 6 |
| Knowledge base | {ns}-corporate-kb | 6 |
All three of the index, data source, and indexer appear at the end of Stage 2, not Stage 3. If an attendee says they are on Stage 3 and has no data source, they did not finish the wizard.
Shared, team-level resources (one per team Search service, not per participant): the team resource group rg-dmsearch-{NN}, the team Search service srch-dmsearch-{NN}-{suffix}, the shared storage archive container, and the shared Microsoft Foundry model deployment. Exact suffixes are in the environment manifest emitted by infra/search-workshop/deploy.ps1.
Pacing modes
Pick one mode at the start of each stage based on where the clock is, and announce it out loud so attendees know what to expect. Foundry IQ (Stage 6) is the finale and is never silently dropped: in every mode you preserve time for it, even if you have to hand attendees a baseline to get there.
On time
Run all required labs. Every attendee builds every object themselves and hits every checkpoint. Follow the elapsed-target column above.
Ten minutes behind
Reduce independent search experimentation. In Stage 4, run the challenge queries together instead of letting attendees free-explore. In Stage 5, put the skillset JSON on the shared screen and have the room paste rather than read, and skip the Stage 5 search-and-filter exploration in step 5 down to a single query. Keep every checkpoint; you are trimming exploration, not skipping outcomes.
Twenty minutes behind
Do Stage 5 as a single guided group exercise: put the three Stage 5 fallback pastes on the shared screen, walk the room through them together, and have everyone reset and run the indexer at the same moment. That reaches enrichment-ready in a few minutes instead of twenty.
Preserve at least 10 minutes for Stage 6 (Foundry IQ) so the grounded-answer finale still lands. Foundry IQ is the payoff of the whole workshop, so protect its slot before you trim anything else. If you are still behind at 1:45, skip the Stage 6 preview synthesis step and finish on the extractive result: it still hits the checkpoint.
In all three modes, if an individual attendee (not the whole room) falls behind, send them to the namespace-scoped baseline for the stage they are on (see Catch-up guidance) rather than slowing the room.
Knowledge-share slides
Every stage opens with a short knowledge share, and each one has a deck: stage-0 through stage-8, listed on the slides page. Each deck covers that stage's Knowledge-share outline, the demo point and common mistakes below, and ends on the checkpoint question, so you can run the talking part straight from the deck.
- Open one directly at
/decks/stage-4/, or add#/presenter/1for speaker notes. - The deck picker is on
/admin/, which is a different page from the workshop dashboard you use for the attendee roster. - Start it from the live-presentation dashboard to drive the room; attendees follow along and can rejoin at any time.
- Decks are static builds and never touch the backend, so a deck still works if the live layer is down. Worst case, present it from your own screen.
Keep them short. The budget below is dominated by lab time, not slides: at Stage 2 the clicking is the lesson, and at Stage 7 the deck is the stage.
Per-stage runbook
Each stage lists its learning objective, a demo point you can show live, the mistakes attendees most commonly make, a checkpoint question to confirm understanding, and which baseline to apply if someone is stuck.
Stage 0, Onboarding (~0:00 to 0:20)
- Objective: Every attendee signs in, receives a
tNN-pNNnamespace on a shared team Search service, understands they are least-privilege (no Contributor, no keys), and confirms access is ready. - Demo point: Show the onboarding page panel end to end: request an environment, read out the namespace, grant automatic Azure access, and run the non-destructive validation so the room sees the PASS / WAITING / WARNING / FAIL categories. Point out that WAITING on a fresh role is normal.
- Say this out loud, twice: the address you type into the access box is the account you must sign in to Azure with, and it must be a personal Microsoft account, not a work address. This one point costs more room-time than everything else in Stage 0 combined.
- Fill the wait: propagation is dead time. Cover the Stage 1 concept primer (the five objects and what each one does) while it settles, so Stage 1 is largely done by the time access is ready.
- Common mistakes: Using a work or Gmail address; accepting the invite as one account and then opening the portal signed in as another; signed in to the wrong tenant or subscription; expecting Contributor; panicking at a WAITING result that just needs a minute of propagation.
- Checkpoint question: "What is your namespace, and which two roles were you granted on the Search service?" (Expected: their
tNN-pNN, plus the custom Workshop Search Developer role and Search Index Data Contributor.) - If stuck: Have them re-run validation after a minute; if still failing, check their tenant and subscription against the manifest, then confirm access with
infra/search-workshop/scripts/validate-access.ps1.
Stage 1, Explore the archive (~0:20 to 0:30)
- Objective: Understand the shape of the corporate archive (record types, structured versus free-text fields) and decide which fields should be searchable, filterable, facetable, and sortable.
- Demo point: Open
search-workshop/data/corporate-archive.sample.jsonand walk one record, naming each field's role out loud (identifying, searchable, filterable, facetable, sortable). - Common mistakes: Trying to make every field searchable; treating
branchordepartmentas free text instead of filterable or facetable. - Checkpoint question (
archive-reviewed): "Which fields would you make filterable or facetable, and why?" (Expected:branch,department,recordType,date.) - If stuck: No baseline needed; this stage produces a schema decision, not an Azure object.
Stage 2, Build the index (~0:30 to 0:55)
- Objective: Use the Import data wizard to create
{ns}-corporate-datasource,{ns}-corporate-index, and{ns}-corporate-indexertogether, with the base fields and correct field attributes on the index. - Demo point: Run the wizard in the portal, showing the Preview mappings step where each field's ... > Configure field panel carries the searchable, filterable, facetable, and sortable attributes, and how renaming
idtorecordIdandcreatedAttodatethere is the field mapping. - Watch for this one: the key icon must end up on
recordId, not on themetadata_storage_path-derivedid. Every record shares one blob path, so the wrong key silently collapses the whole archive into a single document: the run reports success with a document count of 1. There is no fix after the fact, the wizard has to be redone, so call it out before they select Create rather than after. - Common mistakes: Forgetting the namespace prefix (name collides with a teammate); marking the large
contentfield filterable or facetable; wrong key field; leavingcreatedAtunrenamed. - Checkpoint question (
index-ready): "What is the key field of your index, and which fields did you make retrievable but not searchable?" - If stuck:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 2.
Stage 3, Validate ingestion (~0:55 to 1:05)
- Objective: Open the
{ns}-corporate-datasourceand{ns}-corporate-indexerthe wizard created in Stage 2, verify field mappings and the identity-based connection, and confirm the indexer's run loaded the archive. - Demo point: Open the indexer's execution history to show a non-zero document count and a success status, and open Edit JSON on the indexer to show the
fieldMappingsthe wizard wrote. - Common mistakes: Expecting to build something here (Stage 2's wizard already did; this is a verification stage); assuming a key is needed when access is by identity; missing or wrong field mapping (usually
createdAtnot renamed todate), leaving documents loaded but fields empty; not resetting the indexer after fixing a mapping. - Checkpoint question (
ingestion-ready): "How many documents did your indexer load, and what gave the Search service permission to read the archive?" (Expected: a non-zero count; the Search service managed identity has Storage Blob Data Reader on the archive container.) - If stuck:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 3.
Stage 4, Find something (~1:05 to 1:20)
- Objective: Run lexical queries with filter, facet, and sort, then run a semantic query, and state one concrete difference between lexical and semantic ranking.
- Demo point: Run a challenge query both ways: lexical keyword search, then the same intent with semantic ranking, and read out how the top results reorder. The fire-exit question is the one to demo: lexical puts the Exit interview for ... HR notes above every fire record (they repeat
exitandleft), and semantic ranking drops them. - Tested challenge queries: printer complaints; "what happens if stock is left in front of a fire exit?" run both ways; Stamford activity faceted by department. These return recognizable results against the seeded archive.
- Common mistakes: Filtering on a field that is not filterable; expecting semantic ranking on a field with no semantic configuration; comparing different queries instead of the same query two ways; expecting semantic ranking to find a named person (it re-ranks by meaning, so an exact name is lexical's job, or a
peoplefilter after Stage 5). - Checkpoint question (
search-ready): "State one difference you observed between lexical and semantic results for the same query." - If stuck:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 4.
Stage 5, Enrich with AI (~1:20 to 1:40)
- Objective: Create
{ns}-corporate-skillset(entity recognition + key phrase extraction), add enrichment fields, wire output mappings, then reset and rerun the indexer so enrichment populates. - Demo point: Facet the archive by the extracted
peoplefield to show entities the raw data never had as structured values. - Common mistakes: Not resetting the indexer before rerunning, so enriched fields stay empty; output mappings that do not line up with the new fields; expecting exact, reproducible entity values (treat them as recognizable, not fixed).
- Checkpoint question (
enrichment-ready): "Name an entity the skillset extracted that was not a field in the original archive." (Expected: a person, organization, or location, or a key phrase.) - If stuck:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 5, then reset and run the indexer once.
Stage 6, Foundry IQ (~1:40 to 1:55)
- Objective: Create
{ns}-corporate-knowledge-sourceand{ns}-corporate-kbon the shared model, ask a multi-part Dunder Mifflin question, and get a grounded answer with visible citations. - Demo point: Ask a question that spans multiple records and show the citations pointing back into the corpus.
- Preview note: This stage uses a preview API only for grounded answer synthesis, and the page carries a visible preview notice. If preview synthesis is unstable in the room, fall back to the extractive (GA) result and still reach the checkpoint.
- Common mistakes: Model deployment name does not match the manifest; the preview API version was not selected for the synthesis call; expecting an answer with no citations.
- Checkpoint question (
foundry-iq-ready): "What grounded the model's answer, and how do you know it is grounded?" (Expected: the knowledge base over their indexed corpus; the visible citations.) - If stuck:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 6.
Stage 7, Architecture recap (~1:55 to 2:00)
- Objective: Walk the full pipeline they built and see where to take it next.
- Demo point: Trace the assembled architecture on the recap page: archive to data source to indexer to skillset to index to lexical and semantic search to knowledge source to knowledge base to grounded, cited retrieval.
- Checkpoint question (
complete): "Point at one object in the pipeline and say what it does and what would break without it." - If stuck: No baseline; this stage closes the journey.
Catch-up guidance
Every technical stage has a Fallback baseline section, and every one of them is a portal action: paste a known-good definition from the repo under your own namespace. Send a stuck attendee to the fallback for the stage they are on and let the room carry on.
| Stage | Fallback |
|---|---|
| 2 | Add index (JSON), then re-run the wizard for the data |
| 3 | Re-run the Import data wizard |
| 4 | Paste the semantic block |
| 5 | Three pastes: index fields, skillset, indexer, then reset + run |
| 6 | Two pastes: knowledge source, knowledge base |
For Stage 5 and later, remind them to reset and run the indexer once after applying, or the new fields stay empty.
Emergency only: the catch-up script
infra/search-workshop/scripts/workshop.ps1 baseline apply <stage> does the same restore from a shell. It needs the repo, an az login, and, for Stages 5, 6, and 8, the shared Foundry values (-FoundryEndpoint, -ModelDeploymentName, -ModelName, -EmbeddingDeploymentName, -EmbeddingModelName), which is why it is your tool and not theirs. It only ever touches objects beginning with the attendee's own namespace, never a teammate's.
Stage 6's answer-synthesis variant is opt-in, so it does not get overwritten by the extractive definition in the same pass:
./infra/search-workshop/scripts/workshop.ps1 baseline apply 6 -Variant synthesisLive status view
Use the admin dashboard during the session to see, per attendee and per team: whether they have signed in, which environment (tNN-pNN) they hold, and whether their Azure access is ready or still propagating. It is bound to the admin-only endpoints GET /workshop/admin/assignments and GET /workshop/admin/teams and never displays any Azure key or connection string.
Preview isolation
Only Stage 6 uses a preview API, and only for grounded answer synthesis. If preview behavior is unstable in the room, fall back to the extractive (GA) result and still hit the foundry-iq-ready checkpoint. No other stage depends on preview functionality.
Working with the assets submodule
The workshop assets that attendees may look at (the dataset, the reference definitions, and the per-stage baselines) live in their own public repository, RoelantD/dm-search-workshop, mounted here as a submodule at search-workshop/. Attendees are pointed at it directly, and cloning it is optional for them.
Facilitator scripts stay in this private repo, at infra/search-workshop/scripts/, next to deploy.ps1. Access assignment, RBAC automation setup, dataset upload, access validation, and the scripted baseline restore are all yours to run, so none of them are published:
| Script | What it does |
|---|---|
assign-access.ps1 | Grants an attendee their four role assignments |
setup-rbac-automation.ps1 | One-time service principal for self-service access |
upload-dataset.ps1 | Re-uploads the archive to the shared storage account |
validate-access.ps1 | Read-only readiness check across the room |
workshop.ps1 | Emergency baseline restore for a stuck attendee |
generate-dataset.py | Regenerates the corporate archive |
Cloning this repo
git clone --recurse-submodules https://github.com/RoelantD/dunder-mifflin-package-management.gitAlready cloned without it, or search-workshop/ looks empty:
git submodule update --init --recursiveAn empty search-workshop/ is the classic symptom of a missing --recurse-submodules. It shows up as pytest search-workshop/tests collecting nothing.
Changing a dataset record or a baseline
Two commits, in this order. The submodule is a normal git repo; commit inside it first, then record the new pointer here:
cd search-workshop
git add -A && git commit -m "Fix a record in the archive" && git push
cd ..
git add search-workshop && git commit -m "Bump search-workshop" && git pushForgetting the second commit is the classic submodule trap: your machine works, CI does not, because CI still checks out the old pointer.
What CI does with it
The Search Workshop Quality Gate workflow checks out submodules for its asset-test job, and triggers on the search-workshop pointer path. Editing files in the submodule repository does not run this repo's CI; the pointer bump does, which is the commit that actually changes what this repo builds.
How the split was done, for reference
The folder was extracted with git subtree split --prefix=search-workshop, so the new repository carries the real per-file history rather than a single squashed commit, then pushed to dm-search-workshop and re-added here with git submodule add at the same path. You should not need to repeat this.
Before the session: deploy and validate
Run these steps well before attendees arrive, in order. Do not distribute any key or connection string at any point; access is by identity only. Full background on each command is in infra/search-workshop/README.md.
1. Set your Azure context
deploy.ps1 has no subscription parameter; it always targets whatever az is currently signed into, so set that first:
az login # or: az login --tenant <tenantId>
az account list -o table # find the target subscription
az account set --subscription "<name-or-id>" # deploy.ps1 uses this active context
az account show -o table # confirm before proceeding2. Provision infrastructure
Validate at a small topology before committing to the full room:
# Plan only, no resources created:
./infra/search-workshop/deploy.ps1 -Location swedencentral -EnvironmentCount 2 -ParticipantsPerEnvironment 3 -WhatIf
# Provision the small topology:
./infra/search-workshop/deploy.ps1 -Location swedencentral -EnvironmentCount 2 -ParticipantsPerEnvironment 3
# Scale to the full room by -EnvironmentCount alone (existing teams are untouched, re-run is idempotent):
./infra/search-workshop/deploy.ps1 -Location swedencentral -EnvironmentCount 10 -ParticipantsPerEnvironment 3The command prints the environmentManifest output when it finishes (re-fetch it any time with az deployment sub show --name <deployment-name> --query properties.outputs.environmentManifest.value). It lists the shared storage account, the Foundry endpoint, and every team's Search service name/endpoint, and contains no secrets.
Set the backend's ENVIRONMENT_COUNT and PARTICIPANTS_PER_ENVIRONMENT to match the manifest. Set WORKSHOP_SEARCH_SERVICES to the manifest's searchService values in team-number order, separated by commas. Without this setting, the backend displays unsuffixed offline names instead of the deployed service names. The configured list must contain one distinct name per team.
3. Dataset upload (automatic)
deploy.ps1 uploads the corporate archive dataset to the shared storage account by managed identity (--auth-mode login; no storage key is used or printed) as soon as the deployment succeeds, so the archive container is populated before any attendee reaches Stage 2. If you passed -SkipDatasetUpload, or need to re-upload later, run it yourself:
./infra/search-workshop/scripts/upload-dataset.ps1 -StorageAccount <storage-account-from-manifest>4. Assign attendee access
Attendees can also connect their own Azure account from the onboarding page (see "Automated attendee RBAC" below) instead of you running this manually. Use this script for anyone who can't use that path, or to grant access ahead of the session:
# single attendee:
./infra/search-workshop/scripts/assign-access.ps1 -PrincipalId <objectId> -Team 1 -Slot 1
# bulk (CSV columns: principalId,team,slot):
./infra/search-workshop/scripts/assign-access.ps1 -Csv participants.csvGrants four role assignments per attendee: the custom Workshop Search Developer role, Search Index Data Contributor, Reader on the team resource group, and Reader on the shared storage account (so it appears in the portal's Import data wizard storage-account picker in Stage 2). The script refuses to grant Contributor, Owner, Search Service Contributor, User Access Administrator, Role Based Access Control Administrator, or any key role (exits with code 4).
5. Publish this run's session values
The infrastructure is redeployed per event, so the shared Foundry endpoint and the deployment names change every time. Attendees need them verbatim in Stages 5, 6, and 8.
Take these from the environmentManifest the previous step printed, put them in docs/search/session-values.md, and rebuild and redeploy the site.
Stage pages use placeholders and link to the session values so they cannot silently retain an endpoint from an earlier event. Remind attendees to replace those placeholders.
| Page row | Manifest key |
|---|---|
| Foundry endpoint | foundryEndpoint |
| Chat deployment name | modelDeploymentName |
| Chat base model name | modelName |
| Embedding deployment name | embeddingDeploymentName |
| Embedding base model name | embeddingModelName |
| Embedding dimensions | embeddingDimensions |
| Shared storage account | storageAccountName |
This is the only per-event edit in the whole site
If you skip it, Stage 5 attendees cannot find the correct Foundry endpoint for their skillset. Check the session-values page renders the real endpoint before the room arrives.
6. Validate access end to end
./infra/search-workshop/scripts/validate-access.ps1Read-only; reports the same PASS / WAITING / WARNING / FAIL categories attendees see and never prints secrets. A non-zero exit means at least one FAIL to resolve before the event.
7. Confirm the room in the dashboard
Open the admin dashboard and confirm capacity and team occupancy match your expected headcount.
Automated attendee RBAC (optional)
Instead of running assign-access.ps1 for every attendee, attendees can grant themselves access from the onboarding page by supplying an email; the backend invites that email as an Azure AD guest and grants the four attendee role assignments automatically. There is no facilitator bulk pre-invite step: attendees request access individually, at whatever pace they sign in. This is optional and additive; assign-access.ps1 always still works as the fallback.
One-time setup, before the event
Create the backend's RBAC-automation service principal and grant it the Microsoft Graph permissions it needs to invite guests (admin consent required once):
powershell./infra/search-workshop/scripts/setup-rbac-automation.ps1Copy the printed
RBAC_CLIENT_ID/RBAC_CLIENT_SECRETinto the backend's Container App secrets (or local.envfor dev), alongsideAZURE_TENANT_ID. If the script could not grant admin consent automatically (it needs a Global/Privileged Role Administrator), it prints a link to consent in the Entra portal; do that before the event.Pass the printed principal ID to
deploy.ps1so the automation SP is granted a role constrained to only the three attendee role definitions (Reader reused at two scopes, for four assignments total), per team resource group and once at the shared storage account (an Azure ABAC condition on the role assignment; seeinfra/search-workshop/README.md):powershell./infra/search-workshop/deploy.ps1 -Location swedencentral -EnvironmentCount 10 -RbacAssignorPrincipalId <principalId>Set the backend's
SHARED_STORAGE_ACCOUNT_NAMEto thestorageAccountNamevalue from the deployment'senvironmentManifest(also a Container App secret/env var, alongsideRBAC_CLIENT_ID). The automation SP is deliberately not granted permission to look this name up itself (it would need broader read access to the shared resource group than just the one storage account it may assign Reader on), so without this setting the fourth (storage Reader) assignment fails with a config error instead of an Azure permission error.
If you skip these steps, the automatic-access controls on the onboarding page fail cleanly with a message pointing back at you, and attendees fall back to you running assign-access.ps1.
During the session
- An attendee types their email (prefilled from their verified GitHub address when GitHub returned one) and selects Get automatic Azure access. The backend invites that email as a guest in the workshop tenant via Microsoft Graph and grants the same four role assignments
assign-access.ps1would grant, then reports the same PASS / WAITING / WARNING / FAIL validation as the manual path. The attendee does not need to be invited ahead of time, and does not need to redeem the invitation before roles take effect. - A repeat request for the same email is idempotent: the backend looks the guest up instead of re-inviting, so an attendee can safely retry.
- An attendee who already has an account in the workshop tenant can instead select Or sign in with an existing Azure account (MSAL popup); this still requires
AZURE_AD_CLIENT_IDto be configured separately and is unaffected by the steps above. - Automated assignment failures never block the workshop: fall back to
assign-access.ps1for anyone it doesn't work for.
After the session: cleanup checklist
Tear down promptly so nothing is left running and no cost lingers.
1. Delete every resource group
# Shared resource group (storage + Foundry):
az group delete --name rg-dmsearch-shared --yes --no-wait
# Every team resource group (adjust the range to the environmentCount you deployed):
1..10 | ForEach-Object { az group delete --name ("rg-dmsearch-{0:D2}" -f $_) --yes --no-wait }This removes the team Search services, the shared storage account, the shared Foundry model deployment, and every service-scope role assignment together.
2. Remove the custom role definition
The subscription-scoped custom role outlives the resource groups, so delete it explicitly once no assignments reference it:
az role definition delete --name "Dunder Mifflin Workshop Search Developer"If you set up automated RBAC, also remove its custom role definition and the service principal:
az role definition delete --name "Dunder Mifflin Workshop RBAC Automation"
az ad app delete --id <RBAC_CLIENT_ID>3. Remove the attendee guest accounts
Deleting the resource groups removes the resources, but every attendee who used Get automatic Azure access is still a guest user in the workshop tenant, and the backend still holds the email address and name they signed up with. Neither goes away on its own, and neither should outlive the session: attendees handed you a personal address for two hours of lab work.
Clear the backend's bookkeeping from the admin dashboard (Reset all assignments), then remove the guests:
# Review first: guests invited into the workshop tenant, newest last.
az ad user list --filter "userType eq 'Guest'" --query "[].{name:displayName, upn:userPrincipalName, created:createdDateTime}" -o tableDelete the ones from this event by object id. There is no undo, so check the list before you run it:
az ad user delete --id <objectId>If the tenant is shared with anything other than this workshop, delete guests one by one rather than in a loop; other guests may legitimately belong there.
4. Confirm removal
az group list --query "[?starts_with(name, 'rg-dmsearch')]" -o table # expect empty
az role assignment list --role "Dunder Mifflin Workshop Search Developer" -o table # expect empty
az ad user list --filter "userType eq 'Guest'" -o table # expect only guests you meant to keepNo rg-dmsearch-* resource groups, no lingering role assignments for attendee principals, and no leftover workshop guests should remain.