The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm trying to create a data agent. I have reviewed the tenant settings required to create data agents and they seem correct, they are either enabled for the entire organization or I am in the security groups the setting is enabled for. I have reviewed the capacity settings and none of the listed tenant settings have been overridden. When I try to create a data agent, I get the message:
"Can't create data agents in this workspace: An admin needs to turn on a required setting."
The network traffic I see is an error with code TenantSwitchDisabled and exceptionCulprit of 1.
How can I find out more about why this particular action is failing?
Where I got the tenant settings: https://learn.microsoft.com/en-us/fabric/data-science/how-to-create-data-agent
Solved! Go to Solution.
I am using my company's account to access a client environment as a guest user. I asked an employee in the same security groups as me to create the agent, it was successful. I believe that my being a guest account in their tenant may be the reason I couldn't create the data agent.
I am using my company's account to access a client environment as a guest user. I asked an employee in the same security groups as me to create the agent, it was successful. I believe that my being a guest account in their tenant may be the reason I couldn't create the data agent.
Hi @CamBLantern ,
Thanks for reaching out to the Microsoft fabric community forum.
Thanks for your prompt response
In addition to @burakkaragoz , input, I've included the relevant learning documents that may help you understand and resolve the issue.
Please try setting up the required permissions and configurations to enable the data agent to query the data via chat. Let us know how it goes.
Able to create the Data Agent
Query the data using the Chat with Agent feature.
Fabric data agent tenant settings (preview) - Microsoft Fabric | Microsoft Learn
Microsoft Fabric tenant settings - Microsoft Fabric | Microsoft Learn
https://learn.microsoft.com/en-us/fabric/admin/portal-workspace
We truly appreciate your continued engagement and thank you for being an active and valued member of the community. If you’re still experiencing any challenges, we’re more than happy to assist you further.
We look forward to hearing from you.
Best regards,
Lakshmi
Hi @CamBLantern ,
I understand how frustrating this can be when all the visible settings appear correct but you're still hitting this roadblock. The "TenantSwitchDisabled" error with exceptionCulprit 1 suggests there's a specific tenant-level control that's blocking data agent creation, even though your main settings look good.
Here's what I'd recommend to troubleshoot this:
Check these specific tenant settings that might not be obvious:
Copilot and Azure OpenAI Service - In the Microsoft 365 admin center, ensure Copilot integration is enabled for your tenant. Data agents rely on AI services that may have separate controls.
Data Loss Prevention (DLP) policies - Check if there are any DLP policies in your tenant that might be blocking AI-powered features or data processing capabilities.
Power Platform environment settings - Since Fabric integrates with Power Platform, verify that AI Builder and related services are enabled in your Power Platform admin center.
For deeper investigation:
If the issue persists:
Contact Microsoft Support directly with the specific error details (TenantSwitchDisabled, exceptionCulprit 1). They can check backend tenant flags that aren't visible in the standard admin interfaces. Sometimes there are preview feature flags or regional availability restrictions that don't surface in the usual settings.
The Microsoft Learn documentation you referenced covers the standard settings, but there can be additional backend controls that only support can verify.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
This response was assisted by AI for translation and formatting purposes.
User | Count |
---|---|
20 | |
17 | |
6 | |
2 | |
2 |
User | Count |
---|---|
51 | |
48 | |
16 | |
9 | |
6 |