Forum Discussion
Error outcome with text analytics
I tried using text analytics to get score sentiment but I kept getting this same error
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/
The error indicates a lack of authorization to access the Power BI data source. To resolve:
- Verify Permissions: Ensure you have access to the dataset.
- Update Credentials: Check and update data source credentials in Power BI.
- Check Azure AD Roles: Confirm your account/service principal has appropriate roles.
- Clear Cache: Refresh the connection and clear cached credentials.
- Review Policies: Ensure no admin or tenant-wide restrictions are blocking access.
3 Replies
- rohit1991Super User
The error indicates a lack of authorization to access the Power BI data source. To resolve:
- Verify Permissions: Ensure you have access to the dataset.
- Update Credentials: Check and update data source credentials in Power BI.
- Check Azure AD Roles: Confirm your account/service principal has appropriate roles.
- Clear Cache: Refresh the connection and clear cached credentials.
- Review Policies: Ensure no admin or tenant-wide restrictions are blocking access.
- Yesirat_GaniyuNew Member
Thank you. Though I'm using a free account. I don't know if that's the problem.
- rit_ty7Advocate I
Hi Yesirat_Ganiyu ,
this error indicates an authorization issue while accessing an AI-powered data source in Power BI. The error code PowerBINotAuthorizedException suggests that your user account or credentials lack the necessary permissions to access the specified AI functions or services.
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Ritesh Kumar,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.