Share via

Unable to publish hosted agent in Foundry

Nimesh 60 Reputation points
2026-04-29T17:50:03.6533333+00:00

Hi Everyone,

I created a toolbox and now I want to use this toolbox in an agent. Since Toolbox is currently not supported in UI, I am trying to create a new agent with this toolbox. But when I try to publish the agent to Foundry, I get this error message. How to enable this in my subscription? Screenshot 2026-04-29 222543

Foundry Agent Service
Foundry Agent Service

A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anshika Varshney 9,985 Reputation points Microsoft External Staff Moderator
    2026-04-30T06:44:39.9533333+00:00

    Hi Nimesh,

    Thanks for sharing your issue.

    From the error message, this usually means that the hosted agent or toolbox feature is not enabled for your subscription yet.

    These features are still in preview, so they are not available to all subscriptions by default [serverfault.com]

    What is happening

    • You are trying to publish an agent that uses toolbox or hosted agent features
    • Your subscription does not have access to this preview capability
    • Because of that, publishing fails even though your setup looks correct

    What you can check

    Here are a few simple checks with examples:

    Check if feature is available in your subscription

    • Example: If you open Foundry and do not see options related to toolbox or hosted agents, it usually means the feature is not enabled

    Try publishing a basic agent without toolbox

    • Example: Create a simple agent without adding toolbox
    • If this publishes successfully, then the issue is specifically with toolbox support

    Check message shown during publish

    • Example: If you see “experience not available for this subscription”, this directly confirms it is a feature access issue

    How to identify clearly

    You can confirm the root cause like this:

    • Basic agent works, but agent with toolbox fails → feature not enabled
    • Nothing publishes at all → check permissions or setup
    • Same error across attempts → subscription level limitation

    This is not a code or configuration issue

    It is related to feature availability for your subscription, so everything you configured can still be correct, but publishing will fail until access is enabled.

    I hope this helps. Feel free to reach out if you have any further questions.

    Thankyou!


  2. Q&A Assist
    2026-04-29T17:50:24.4333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Toolboxes in Foundry are a managed resource that can be consumed by any MCP‑compatible agent runtime or client, but they are currently in preview. The error message “The requested experience is not available for this subscription” indicates that the Foundry agents + toolbox experience is not yet enabled for the Azure subscription being used.

    To proceed, the subscription must be onboarded to the Foundry preview that includes toolboxes and hosted agents. This enablement cannot be done from the portal or CLI; it requires Microsoft to enable the experience for the subscription. Open a support request with Microsoft (or work through the preview enrollment channel that was used to get Foundry access) and provide the request ID from the error so the team can enable the appropriate Foundry preview features for that subscription.

    Once the subscription is enabled for the preview, the existing toolbox can be referenced from agents, and those agents can be published and consumed via the single MCP endpoint described in the toolbox documentation.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.