A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model
There was a problem submitting the agentAn error occurred while submitting the agent. Please try again
not able to publish the agent
Foundry Agent Service
-
Karnam Venkata Rajeswari • 5,255 Reputation points • Microsoft External Staff • Moderator
2026-06-12T13:24:58.6+00:00 Hello @Suraj Panker ,
Welcome to Microsoft Q&A .Thank you for reaching out to us.
Based on the available information, the agent has already been created successfully which confirms that the issue is not related to initial agent creation. The observed behavior shows failures in both publishing and runtime interaction, including the message“Response failed with code unknown”.
This type of error is a generic platform response and does not indicate a single root cause. Typically, it occurs when an underlying dependency fails, and the exact cause is only visible in diagnostic logs. Since both publishing and runtime are impacted, the issue is most likely related to a shared dependency such as model deployment, configuration, permissions or environment connectivity.
Please check if the following steps help-
- Reviewing Traces and Monitor Logs The most effective way to identify the issue is through diagnostic logs:
- Review Traces and Monitor entries at the time of failure
- Capture:
- Failed publish traces
- Failed interaction traces
- Timestamps and correlation identifiers
- Capture:
- Failed publish traces
- Failed interaction traces
- Timestamps and correlation identifiers
- Validating Model Deployment Since both publish and runtime operations rely on the model:
- Confirm the configured model deployment exists
- Ensure deployment status is healthy/succeeded
- Validate that the same deployment works independently
- Reviewing recent configuration changes Given that a prior version exists, identifying recent changes is critical:
- Model changes or redeployment
- Updates to instructions or prompt structure
- New or modified tools/actions
- Changes in connected knowledge sources
- Updates to permissions or environment settings
- . Validating connected dependencies (tools, knowledge, permissions) All external dependencies should be verified together, as issues in any of them can cause both publish and runtime failures:
- Tools / actions (Functions, APIs, Logic Apps, connectors)
- Knowledge sources (Search, Storage, SharePoint, Fabric)
- Access permissions (RBAC roles on all connected resources)
- Validating environment and networking If Applicable If the setup includes advanced configurations:
- Ensure all resources are in the same region
- Validate connectivity across services
- Check private endpoints, DNS, and firewall rules if used
- Verify configuration for bring-your-own resources
The following references might be helpful , please check them out
- What is Microsoft Foundry Agent Service? - Microsoft Foundry | Microsoft Learn
- Set up private networking for Foundry Agent Service - Microsoft Foundry | Microsoft Learn
- Use your own resources in the Foundry Agent Service - Microsoft Foundry | Microsoft Learn
- Foundry Agent Service frequently asked questions - Microsoft Foundry | Microsoft Learn
- Set up your environment for Foundry Agent Service - Microsoft Foundry | Microsoft Learn
Please let us know if the response was helpful
Thank you
- Reviewing Traces and Monitor Logs The most effective way to identify the issue is through diagnostic logs:
-
Suraj Panker • 15 Reputation points
2026-06-12T13:27:40.7233333+00:00 When i am interacting the agent then i am facing the issue Response failed with code unknown: There was an issue with your request. Please check your inputs and try again. If issue persists, please use following identifiers in any support request: ConversationId =[REDACTED] @Karnam Venkata Rajeswari
-
Karnam Venkata Rajeswari • 5,255 Reputation points • Microsoft External Staff • Moderator
2026-06-12T13:41:55.2333333+00:00 Hello @Suraj Panker ,
Thank you for providing us with additional information.
Please allow us some time while we are working on this
Thank you.
-
Karnam Venkata Rajeswari • 5,255 Reputation points • Microsoft External Staff • Moderator
2026-06-15T10:01:53.4566667+00:00 -
Suraj Panker • 15 Reputation points
2026-06-15T10:40:25.77+00:00 @Karnam Venkata Rajeswari -Issue not resolved
-
Karnam Venkata Rajeswari • 5,255 Reputation points • Microsoft External Staff • Moderator
2026-06-15T13:58:37.7233333+00:00 Hello @Suraj Panker ,
Thanks for the update.Please allow us sometime while we work on this
Thank you
Sign in to comment