A developer saves a Work IQ connection in Foundry using the client ID and client secret from the agent's Microsoft Entra app registration. Foundry displays an OAuth redirect URL.
The company also has a separate app registration for an administration portal. The developer must finish configuring the server-side OAuth callback for the existing agent connection.
Which registration change should the developer make?
Foundry supplies the callback URL after the tool connection is created. Add that URL to the Web platform of the same Entra app registration whose credentials the connection uses. The MCP endpoint identifies the Work IQ server and serves a different purpose.
- Not correct: Register the displayed redirect URL as Web in the administration app registration. The source adds the redirect URL to the app registration configured for the Work IQ connection. Updating the separate administration registration does not complete that connection's setup.
- Correct: Register the displayed redirect URL as Web in the agent app registration. The source directs the developer to add Foundry's generated OAuth redirect URL to the Web platform of the app registration used for the connection.
- Not correct: Register the displayed redirect URL as Single-page application in the agent app registration. The documented Work IQ configuration in the source uses the Web platform for this connection's callback. Registering it as Single-page application does not follow that configuration.
- Not correct: Register the Work IQ MCP endpoint as Web in the agent app registration. The source distinguishes the remote MCP server endpoint from the OAuth redirect URL. The app registration needs the redirect URL generated by Foundry.
- Connect a Microsoft Foundry project to Work IQMicrosoft Learn