Skip to content

Work IQ

Work IQ queries the signed-in user's Microsoft 365 context, including documents, email and meetings. A Foundry IQ workIQ knowledge source retrieves that context at request time. It does not copy the Microsoft 365 corpus into a landing-zone index or require Agent App Ingestion.

The platform supplies a source-registration template. The native reference application does not load the Work IQ connector settings or forward its source-specific assertion. This guide separates that shipped provisioning support from the application integration you must implement and validate.

Which identity authorizes a Work IQ answer?

  1. The source template registers Work IQ, but does not grant Microsoft 365 access.
  2. A custom integration must carry a user assertion for the Work IQ app, separately from the workload credential that authenticates Search transport.
  3. Search exchanges the assertion for delegated Work IQ access. The user's permissions apply; a shared managed identity must not replace the user.

An agent or workflow calls a Search knowledge base through its knowledge-base tool. The registered Work IQ source retrieves Microsoft 365 context under the signed-in user's permissions without indexing the corpus. People and dashed lines show agent connection, source registration and tenant setup. Source registration alone does not establish user access.

Open full-size diagram

Before you start

Microsoft's Work IQ knowledge-source guide defines this preview. The tenant enablement guide requires usage-based billing, an Azure subscription/resource group and assignment of querying users. Microsoft 365 Copilot licensing does not replace that billing setup.

You need a tenant/billing administrator, an Entra administrator authorized to grant consent and create federation, a Search source administrator, and an application owner who can implement the credential path. Search Service Contributor is the recommended keyless knowledge-object management role. Private Azure resources still need permitted access to Microsoft 365 and Entra.

Preview and action scope

Work IQ can invoke capabilities that perform actions, not only retrieve information. Approve trusted applications/users, permissions, billing and data handling before a pilot. The preview has no SLA and is not recommended for production. Do not describe this integration as guaranteed read-only.

How to prepare a Work IQ pilot

1. Prepare tenant access and federation

Initialize the environment through the full-stack deployment guide. Enable Work IQ billing and assign pilot users. Follow the official Entra authentication procedure for a customer-owned application exposing access_as_user. The application needs delegated WorkIQAgent.Ask permission and administrator consent. The application also needs a federated credential trusting Search's managed identity.

Record the application's client ID and the federated credential's object ID. Neither is the Search principal ID. Creating the source does not create these Entra objects or grant consent. If Search does not exist yet, provision the foundation with Work IQ disabled, establish federation using its actual identity, then enable and reprovision the source.

2. Declare the source before provisioning it

In root main.parameters.json, merge these entries into parameters.additionalAppConfigurationSettings.value. Preserve existing host/mode entries. Values are strings; agent-lz is the shared label:

[
  { "name": "WORK_IQ_ENABLED", "value": "true", "label": "agent-lz" },
  { "name": "WORK_IQ_KNOWLEDGE_SOURCE_NAME", "value": "work-iq-pilot", "label": "agent-lz" }
]

These are source-setup keys, not native capability switches. Their defaults are false and an empty source name. There is no declared environment mapping for those two keys; setting same-named azd variables alone does not publish them. Both providers publish explicit additional settings before Search setup. See Application settings for ownership and effective values.

The following nonsecret identity inputs have an explicit deployment environment publication path:

azd env set WORK_IQ_APPLICATION_ID "<work-iq-app-client-id>"
azd env set WORK_IQ_FEDERATED_CREDENTIAL_ID "<federated-credential-object-id>"
azd env set FOUNDRY_IQ_API_VERSION "2026-08-01-preview"

Set WORK_IQ_TENANT_ID only when the app is in another tenant; it is also a published nonsecret UUID. Retain RETRIEVAL_BACKEND=foundry_iq. The template uses workIQParameters.entraAppAuthentication; the default Blob API 2026-05-01-preview is incompatible with this implemented source contract.

3. Provision and inspect the knowledge objects

  1. Run azd provision through the selected deployment guide after the identity inputs and source declaration are ready.
  2. In Search, inspect the source's app/federation values and its reference in the intended knowledge base. Confirm the names are distinct from other sources.

Missing bindings, incompatible API settings or unverified Work IQ consent fail setup rather than silently dropping the source.

Platform setup reconciles its named sources and knowledge base. Later provisioning can overwrite manual edits. Use reviewed template changes for platform-owned objects, or separate names and explicit ownership for operator-managed objects. Neither provider provisions Microsoft 365 billing, user assignment or consent.

4. Implement the application credential and retrieval path

Choose a reviewed native Foundry MCP connection or explicitly integrate the direct connector. Foundry IQ explains why the generated CognitiveSearch connection is not the native RemoteTool MCP connection. Merely enabling FOUNDRY_IQ_ENABLED does not implement Work IQ user delegation.

For the direct-connector recipe, the application must obtain and validate the original user assertion for the Work IQ app, including access_as_user. It must forward that assertion to the connector in trusted invocation context. The connector sends the raw assertion in x-ms-query-work-iq-source-authorization. It must not be a Search-audience token or a workload managed-identity token.

The available UI helper/connector code defines x-client-work-iq-assertion, but the native Responses UI does not call that helper. Native ToolIdentity carries no Work IQ assertion. You must implement the missing acquisition/forwarding/invocation wiring, or configure and prove the equivalent native service connection contract. Do not put assertions in prompts, tool arguments, saved history, checkpoints or logs.

When reusing the UI helper, WORK_IQ_APPLICATION_ID must match OAUTH_AZURE_AD_CLIENT_ID, and the optional Work IQ tenant must match the UI's OAuth tenant. The helper does not exchange an assertion for a separate Work IQ app. Any confidential OBO client secret stays server-side as a Key Vault reference; follow Sign-in & access.

Publish/deploy the custom integration only after registration, consent and federation are verified. Source/identity/binding changes require the matching setup and application redeployment, not just provider refresh. For a direct connector, FOUNDRY_IQ_MAX_RUNTIME_SECONDS defaults to 120; that setting is not loaded by native MCP tool composition.

Verify and recover

Use a known Microsoft 365 document and two pilot accounts with different permissions. The allowed user must receive the expected answer and source reference. The denied user's retrieved content and citations must exclude the document. Missing/expired/wrong-audience assertions must fail, not retry under the workload identity. Concurrent sessions must not share credentials or content.

Verify actual source activity, not just provisioning or container health. Source omission is not successful Work IQ grounding. A Foundry call ID does not substitute for the source's required user assertion. Record application version, knowledge-base/source names and nonsecret correlation IDs without logging tokens or Microsoft 365 content.

Recovery restores the prior compatible publication/settings and removes only the pilot source reference. Do not delete shared tenant objects or other knowledge sources. Revoking pilot-only consent, assignments and federation requires the relevant administrator's separate approval.

Callable Work IQ MCP tools are a different integration

The Work IQ MCP product exposes callable tools, not this workIQ knowledge source. It needs its own reviewed tool registration and authentication. It does not remove source consent requirements, and deploying Agent App MCP Server does not install it. See Tools & MCP.

© 2026 Azure AI Landing Zones