Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi, I was able to use this a few weeks ago now I am getting this error in desktop.
Any ideas how I can resolved this?
DataSource.Error: An error happened while reading data from the provider: '{"error":{"code":"PowerBINotAuthorizedException","pbi.error":{"code":"PowerBINotAuthorizedException","parameters":{},"details":[],"exceptionCulprit":1}}}'
Details:
DataSourceKind=AIFunctions
DataSourcePath=AIFunctions
DataSourceKind.2=AdoDotNet
DataSourcePath.2=AI.Provider/
Solved! Go to Solution.
Hi @jemmaa ,
The error you're encountering—PowerBINotAuthorizedException—typically points to an authorization issue with the AI Functions connector in Power BI Desktop. Since you've already confirmed that your Power BI Pro license is active, you've reinstalled Power BI, and have cleared and re-entered credentials, the next likely cause is that the AI workload might no longer be enabled in your tenant.
Even though you're working in Power BI Desktop and not yet connected to a workspace, AI features like text analytics still depend on tenant-level settings. To move forward, double-check with your Power BI administrator to ensure the AI workload is enabled in your tenant or Premium capacity settings. Also, revisit Transform Data > Data Source Settings in Desktop, clear any cached credentials for "AIFunctions", and sign in again. If you're using a Premium workspace, ensure the AI workload is turned on in the Capacity settings in the Power BI Admin Portal.
Passionate about leveraging data analytics to drive strategic decision-making and foster business growth.
Connect with me on LinkedIn: Rohit Kumar.
Hi @jemmaa,
Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.
If the response addressed your query, kindly mark it as Accepted Solution and click Yes if you found it helpful this will benefit others in the community as well.
Best regards,
Prasanna Kumar
I am also getting this "No premium capacities are available"
Hi @,
Thanks for reaching out to the Microsoft Fabric Forum Community.
Your “No premium capacities are available” error means you don’t have access to Premium features needed for these AI functions. To use AI Functions without errors, you must publish your report/dataset to a Premium workspace with AI workloads enabled.
If this helped, please mark the response as the accepted solution and give it a thumbs-up so others can benefit too.
Best regards,
Prasanna Kumar
Thanks for your reply. The workspace is already set to premium and AI functions are already enabled. This was working 4 weeks ago and has suddenly stopped.
Hi @jemmaa,
Thanks for reaching out to the Microsoft Fabric Forum Community.
Tryout these workarounds:
Basic Checks
Sign out and sign back in to Power BI Desktop. Clear all Global Permissions under Data source settings (AIFunctions, etc.). Ensure your Pro license is active.
Ask admin to unassign --> save --> reassign the workspace to Premium (to refresh config). Make sure you're still part of the security group tied to Premium capacity access.
Troubleshoot Environment & Services: Try the AI function in a blank new PBIX file. Ensure your workspace, tenant, and Azure services are all in the same region.
If the issue still persists, I’d recommend raising a support ticket with Microsoft. The support team can look into the backend and provide more in-depth assistance tailored to your environment.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
If this helped, please mark the response as the accepted solution and give it a thumbs-up so others can benefit too.
Best regards,
Prasanna Kumar
Hi @jemmaa ,
The error you're encountering—PowerBINotAuthorizedException—typically points to an authorization issue with the AI Functions connector in Power BI Desktop. Since you've already confirmed that your Power BI Pro license is active, you've reinstalled Power BI, and have cleared and re-entered credentials, the next likely cause is that the AI workload might no longer be enabled in your tenant.
Even though you're working in Power BI Desktop and not yet connected to a workspace, AI features like text analytics still depend on tenant-level settings. To move forward, double-check with your Power BI administrator to ensure the AI workload is enabled in your tenant or Premium capacity settings. Also, revisit Transform Data > Data Source Settings in Desktop, clear any cached credentials for "AIFunctions", and sign in again. If you're using a Premium workspace, ensure the AI workload is turned on in the Capacity settings in the Power BI Admin Portal.
Passionate about leveraging data analytics to drive strategic decision-making and foster business growth.
Connect with me on LinkedIn: Rohit Kumar.
In addition this just suddenly stopped working. I have used the AI functions a few weeks ago in desktop and this was fine. But isn't working now.
Thank you @rohit1991 how do we enable this?
To move forward, double-check with your Power BI administrator to ensure the AI workload is enabled in your tenant or Premium capacity settings
Hi @burak thanks for your reply
I have followed the below steps:
As this is happening in desktop currently this wont be connected to the workspaces will it yet?
If so how do I do this point?
Thanks for the update. Since you're using Power BI Desktop and not yet connected to a workspace, the AI workload setting would apply only once the report is published to a Premium workspace. To proceed:
If you're not using Premium, AI features may be limited or unavailable. In that case, consider switching to a supported method or checking if your tenant has access to AI capabilities.
Hi @jemmaa ,
The error message indicates a PowerBINotAuthorizedException, which means the AI Functions connector is being blocked due to authorization issues. This can happen if:
To resolve it:
If the issue persists, contact your Power BI administrator to check tenant-level settings.
User | Count |
---|---|
84 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |