🚨 Question about Browser Automation Preview #136
-
|
I’m trying to use the new Browser Automation tool with Azure AI Agents, but I get the following error when creating an agent:
To Reproduce Created an Azure AI Project in westus3. Created a Playwright workspace (microsoft.loadtestservice/playwrightworkspaces) and verified it is connected as a resource. Tried attaching it as a tool with BrowserAutomationTool via the Python SDK (azure-ai-projects). Ran the agent and received the error above. Expected behavior Region: westus3 SDK: azure-ai-projects (latest available version) Auth: DefaultAzureCredential Additional context Playwright workspace shows up correctly in my Azure resource group and has Succeeded provisioning state. Docs mention Browser Automation Preview, but I don’t see clear steps on how to enable or register it. Unsure if I need a feature flag (az feature register), different SDK version, or if the preview is only enabled in specific regions. Questions: How do I enable the browser_automation tool in Azure AI Projects? Is there a required feature registration or private preview enrollment? Which SDK version or region should I be using to access this preview? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hi @JHammersley Thank you for taking time to share this - can I confirm which docs page you were following? this one? https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/browser-automation-samples |
Beta Was this translation helpful? Give feedback.
-
|
Any update on this? I get the same error following the blog and yt video but my resource are setup for sweden central. I found this query here, which talks about requesting access to the feature however I can't find the feature listed under the preview section of the sub. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @JHammersley and @mjunaid106, Please make sure to have the pre release version of azure ai agents package installed in your environment, as specified by the docs https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/browser-automation-samples: pip install --pre azure-ai-agents>=1.2.0b2 |
Beta Was this translation helpful? Give feedback.
Hi @JHammersley and @mjunaid106,
Please make sure to have the pre release version of azure ai agents package installed in your environment, as specified by the docs https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/browser-automation-samples:
pip install --pre azure-ai-agents>=1.2.0b2