Troubleshooting
Each entry has a short name so a facilitator can point to it quickly. Entries are grouped by the stage where you are most likely to hit them, and each gives the symptom you see, the likely cause, and the fix. When in doubt, confirm your namespace first (tNN-pNN) and check the resource name against the facilitator guide resource-name table.
Access and onboarding (Stage 0)
wrong-tenant
- Symptom: The validation panel shows FAIL on the Azure category, or the portal shows none of the workshop resources at all.
- Cause: You are signed in to the wrong Azure Active Directory tenant (directory).
- Fix: Use the directory switcher in the Azure portal (top-right account menu) to switch to the workshop tenant, then re-run validation.
wrong-subscription
- Symptom: The correct tenant is selected but you still cannot see the workshop resource groups, or validation FAILs on subscription.
- Cause: A different subscription is active in the portal filter.
- Fix: Set the portal subscription filter (or
az account set --subscription <id>) to the workshop subscription named in the environment manifest, then re-run validation.
missing-role-assignment
- Symptom: Validation shows FAIL on Permissions even after several minutes, and you cannot open your Search service.
- Cause: Your access was never assigned, or was assigned to a different principal.
- Fix: Ask the facilitator to run
infra/search-workshop/scripts/assign-access.ps1for your principal, team, and slot. This is not something you can grant yourself (least privilege by design).
azure-invite-failed
- Symptom: Selecting Get automatic Azure access returns an error instead of granting access.
- Cause: Either the email you entered is not a valid address, or Microsoft Graph rejected the invitation (for example, the automation service principal is missing admin consent for the
User.Invite.Allpermission, or the tenant blocks guest invitations from that domain). - Fix: Double-check the email and retry once; if it still fails, ask the facilitator to run
infra/search-workshop/scripts/assign-access.ps1for you instead (after inviting you, or using a principal you already have in the tenant).
azure-link-tenant-mismatch
- Symptom: Selecting Or sign in with an existing Azure account on the onboarding page returns an error mentioning a tenant mismatch, instead of granting access.
- Cause: The Entra ID account you used to sign in to Azure belongs to a different tenant (directory) than the one configured for this workshop.
- Fix: Sign out and retry with the workshop's Azure account, use Get automatic Azure access with your email instead, or ask the facilitator to run
infra/search-workshop/scripts/assign-access.ps1for you. Automated linking never assigns roles across tenants; this is a safety check, not a bug.
azure-link-not-available
- Symptom: Neither automatic-access control on the onboarding page works, or clicking one fails immediately with a generic error.
- Cause: The facilitator has not enabled automated RBAC for this session (it is optional).
- Fix: Ask the facilitator to run
infra/search-workshop/scripts/assign-access.ps1for you; the manual path always works regardless of whether automation is configured.
rbac-propagation-delay
- Symptom: A permissions check shows WAITING right after you were assigned access.
- Cause: Azure role assignments take a short time to propagate.
- Fix: Wait a minute or two and re-run the validation panel. WAITING on a freshly assigned role is expected, not an error.
search-service-not-visible
- Symptom: Your team resource group is visible but the Search service does not appear, or you cannot browse into it.
- Cause: You have Reader on the team resource group but the role is still propagating, or you are looking in the wrong team resource group.
- Fix: Confirm you are in
rg-dmsearch-{NN}for your team number, wait for propagation, and re-run validation. If it persists, raise it with the facilitator.
permission-denied-creating-index
- Symptom: Creating
{ns}-corporate-indexreturns an authorization or 403 error. - Cause: The custom "Workshop Search Developer" role has not propagated yet, or you are on the wrong Search service.
- Fix: Confirm you are on your team's Search service, wait for role propagation, and retry. You do not need and will not be granted Contributor to create Search objects.
permission-denied-querying-index
- Symptom: The index exists but running a query returns a 403.
- Cause: Data-plane query access (Search Index Data Contributor) is still propagating, or you are querying with a key you do not have.
- Fix: Query by identity (the portal Search explorer uses your signed-in identity). Wait for the data role to propagate and retry. No keys are used in this workshop.
azure-wrong-account
- Symptom: You accepted the invitation, but the Azure portal shows none of the workshop resources, or validation still FAILs on permissions.
- Cause: You are signed in to Azure as a different account than the one that was invited. The roles were granted to the invited identity, not to whoever your browser remembered.
- Fix: Sign out of the Azure portal completely, or open a private/incognito window, and sign in as the exact address you typed on the onboarding page. The portal's "switch account" picker only lists accounts you have already signed into; it cannot add the invited identity for you.
stale-session-values
- Symptom: The Stage 5 skillset or the Stage 6 knowledge base cannot reach the model, and the endpoint in your JSON looks plausible.
- Cause: You used a Foundry endpoint or deployment name from an older run of this workshop, or from a screenshot. The infrastructure is redeployed per event and those names change every time.
- Fix: Take the values from the Session values page for this session, and the Foundry endpoint from the Stage 5, 6, or 8 snippet you are pasting. If the session values page still reads
REPLACE-ME, or the endpoint in a snippet does not match that page, tell your facilitator; those are their pre-session edits.
Namespace and index (Stages 1 to 2)
forgot-namespace
- Symptom: You are unsure which objects are yours on the shared Search service.
- Cause: Every participant on a team shares one Search service; your objects are the ones that begin with your namespace.
- Fix: Re-open the onboarding page or run
infra/search-workshop/scripts/validate-access.ps1to see yourtNN-pNN. Everything you create starts with{ns}-.
name-collision
- Symptom: Creating an object fails because the name already exists.
- Cause: You dropped the namespace prefix, so your name collided with a teammate's object on the shared service.
- Fix: Prefix the object with your own namespace (for example
{ns}-corporate-index) and create it again. Never remove the prefix to "fix" a collision.
edited-teammate-resource
- Symptom: An object you did not expect changed, or you realize you opened an object without your namespace prefix.
- Cause: You edited a teammate's object on the shared Search service.
- Fix: Stop and leave it as it was. Only work on objects that start with your namespace. If you changed a teammate's object, tell them and the facilitator so they can restore it with their own
workshop.ps1 baseline apply <stage>.
index-schema-mismatch
- Symptom: The indexer runs but fields are empty, or creating the index rejects a field definition.
- Cause: Field names, types, or attributes in your index do not match what later stages expect (for example a field that should be filterable is not).
- Fix: Compare your index against
search-workshop/definitions/index.template.json, or apply the stage baseline with./infra/search-workshop/scripts/workshop.ps1 baseline apply 2to reset to a known-good schema under your namespace.
storage-account-not-listed
- Symptom: On the Import data wizard's connect-to-data step in Stage 2, the storage-account picker says No storage accounts found.
- Cause: The picker lists storage accounts via Azure Resource Manager, which only shows accounts you have read access to. This needs your onboarding-granted Reader role on the shared storage account to have propagated; it is separate from the Search service's own Storage Blob Data Reader access to the archive container.
- Fix: Wait a minute for the role to propagate and retry. If it persists after a few minutes, ask your facilitator to confirm
assign-access.ps1(or the automatic-access path) ran successfully for you.
wrong-key-field
- Symptom: The indexer reports Success with "132 documents succeeded", but the index's document count is 1.
- Cause: The index key is mapped from
metadata_storage_pathinstead ofrecordId. WithjsonArrayparsing every record comes from the same blob, so they all share one key and each record overwrote the last. The execution log warns that a one-to-many parsing mode conflicts with the key mapping. - Fix: There is no fix after the fact. Delete the indexer, index, and data source, then redo Stage 2's wizard, confirming the key icon sits on
recordIdbefore you select Create.
Ingestion (Stage 3)
datasource-auth-failure
- Symptom: The data source or indexer cannot read the archive; you see an authorization error reaching storage.
- Cause: The Search service managed identity needs Storage Blob Data Reader on the shared
archivecontainer. This is configured by the deployment. - Fix: Confirm your data source connects by identity (no key), then raise it with the facilitator if it persists; the fix is an infrastructure role assignment, not something you set.
indexer-failure
- Symptom: The indexer run ends with an error status and zero or partial documents.
- Cause: A bad data source connection, an unreadable blob, or a mapping error.
- Fix: Open the indexer execution history and read the error detail. Fix the named cause (often a field mapping), or apply
./infra/search-workshop/scripts/workshop.ps1 baseline apply 3and rerun.
field-mapping-mismatch
- Symptom: Documents load (non-zero count) but some index fields stay empty.
- Cause: The indexer field mappings do not match your index field names.
- Fix: Align the indexer field mappings with your index field names (check spelling and case) against
search-workshop/definitions/indexer.template.json, then rerun the indexer.
Search and relevance (Stage 4)
semantic-config-field-not-searchable
- Symptom: Saving the
corporate-semanticblock on your index is rejected, with a message that a field named in the semantic configuration is not searchable. - Cause: A semantic configuration may only name fields that are searchable and retrievable. The keyword fields
branchanddepartmentneed Searchable checked on top of Filterable and Facetable, and it is easy to miss that in the Stage 2 wizard. - Fix:
searchablecannot be changed on a field that already exists, so you cannot flip it in place. Pick whichever costs you less time:- Keep moving (seconds): drop the
prioritizedKeywordsFieldsarray from the block and save justtitleFieldandprioritizedContentFields. Semantic ranking works fine on title plus content, and every later stage, including Stage 6, behaves the same. - Rebuild (a few minutes): delete the indexer, index, and data source, then redo Stage 2's wizard with Searchable checked on
branchanddepartment.
- Keep moving (seconds): drop the
semantic-ranking-no-better-than-lexical
- Symptom: Semantic results look no different from lexical results.
- Cause: You selected the wizard's auto-generated
search-<timestamp>-semantic-configuration, which has no prioritized content fields and cannot rank meaningfully. - Fix: In Search explorer > View > JSON view, replace the entire request with the following JSON. In Stage 6, also select
corporate-semanticby name.
json
{
"search": "what happens if stock is left in front of a fire exit?",
"queryType": "semantic",
"semanticConfiguration": "corporate-semantic"
}semantic-ranking-ignores-a-persons-name
- Symptom: A question naming an employee, for example
fire safety involving Priya Nair, does not put that employee's records at the top under"queryType": "semantic", and the plain"queryType": "simple"run does a better job. - Cause: Working as designed. Semantic ranking is a re-ranker over the results keyword search already retrieved, and it scores how well a record's meaning answers the question. An exact token such as a person's name is what keyword scoring is good at; it carries little weight in a semantic score. Several archive records also share near-identical wording and differ only in the branch and the names, so there is little meaning for the re-ranker to separate them on.
- Fix: Retrieve people lexically, not semantically: use
"queryType": "simple", or after Stage 5 filter on the extractedpeoplefield ("filter": "people/any(p: p eq 'Priya Nair')"). Keep semantic ranking for questions where the discriminator is meaning rather than an exact term.
Enrichment (Stage 5)
skillset-execution-failure
- Symptom: The indexer run reports skillset errors and enrichment does not complete.
- Cause: The Search identity cannot call the model (needs Cognitive Services User on the shared Foundry resource), or the skillset input or output mappings are wrong.
- Fix: The Cognitive Services User role is configured by the deployment; if that is the cause, raise it with the facilitator. Otherwise compare against
search-workshop/definitions/skillset.template.jsonand fix the mappings.
missing-enrichment-values
- Symptom: The
people,organizations,locations, orkeyPhrasesfields stay empty after a rerun. - Cause: The indexer was not reset before rerunning, so it skipped already-processed documents, or the output field mappings are missing.
- Fix: Reset the indexer, then run it again so it reprocesses every document. Confirm the enrichment output mappings exist. Treat extracted values as recognizable, not exact.
Foundry IQ (Stage 6)
foundry-model-access-failure
- Symptom: The knowledge base cannot reach the model, or answers never generate.
- Cause: The shared model deployment name does not match the manifest, or the Search identity lacks Cognitive Services User on the shared Foundry resource.
- Fix: Confirm the model deployment name matches the environment manifest. The role is configured by the deployment; raise a persistent access failure with the facilitator.
knowledge-base-retrieval-failure
- Symptom: The knowledge base returns no grounded answer, or an answer with no citations.
- Cause: The knowledge source points at the wrong index, the index has no documents, or you are asking about content that is not in the corpus.
- Fix: Confirm the knowledge source targets your
{ns}-corporate-indexand that the indexer loaded documents. Ask a question the archive can actually answer, and expect visible citations.
model-name-vs-deployment-name
- Symptom: Saving the Stage 6 synthesis variant fails with
Unsupported model type in Knowledge Base Model Configuration. - Cause:
modelNameholds a deployment name. The API validatesmodelNameagainst a fixed list of base model names and rejects anything else. - Fix:
deploymentIdis what the deployment is called (for examplegpt-workshop);modelNameis the base model underneath it (for examplegpt-4o-mini). Both are on the Session values page, and they are rarely the same string.
preview-version-not-selected
- Symptom: Synthesized answers do not appear, though extractive results work.
- Cause: The preview API version was not selected for the synthesis call.
- Fix: Select the preview API version for synthesis. Extractive retrieval works on the GA version, so you can still reach the
foundry-iq-readycheckpoint if preview is unstable.
Vector and hybrid (Stage 8 stretch)
vector-dimension-mismatch
- Symptom: After adding the embedding skill, every document fails the indexer run with a dimension error.
- Cause: The
dimensionson the index field, thedimensionson the skill, and the model's actual output do not all agree.text-embedding-3-smallproduces 1536,text-embedding-3-largeproduces 3072. - Fix: Make all three match. A field's
dimensionscannot be changed after creation, so a wrong field has to be dropped and recreated.
empty-vector-results
- Symptom: A
vectorQueriessearch returns nothing, with no error. - Cause:
contentVectoris empty, usually because the indexer was rerun without a reset after the embedding skill was added. - Fix: Reset the indexer, run it, confirm 132 documents succeeded, then query again.
Any stage
rate-limit-or-quota-warning
- Symptom: A request is throttled, or you see a rate-limit or quota warning during indexing or answering.
- Cause: The shared team Search service and shared model have finite capacity, and many participants may be running at once.
- Fix: Wait a few seconds and retry; the limit is transient. Avoid repeatedly resetting and rerunning the indexer in a tight loop. If a whole team is throttled, the facilitator can stagger runs across the team.