A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model
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!