Forum Discussion

Yesirat_Ganiyu's avatar
Yesirat_Ganiyu
New Member
1 year ago
Solved

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:

    1. Verify Permissions: Ensure you have access to the dataset.
    2. Update Credentials: Check and update data source credentials in Power BI.
    3. Check Azure AD Roles: Confirm your account/service principal has appropriate roles.
    4. Clear Cache: Refresh the connection and clear cached credentials.
    5. Review Policies: Ensure no admin or tenant-wide restrictions are blocking access.

3 Replies

  • The error indicates a lack of authorization to access the Power BI data source. To resolve:

    1. Verify Permissions: Ensure you have access to the dataset.
    2. Update Credentials: Check and update data source credentials in Power BI.
    3. Check Azure AD Roles: Confirm your account/service principal has appropriate roles.
    4. Clear Cache: Refresh the connection and clear cached credentials.
    5. Review Policies: Ensure no admin or tenant-wide restrictions are blocking access.
    • Yesirat_Ganiyu's avatar
      Yesirat_Ganiyu
      New Member

      Thank you. Though I'm using a free account. I don't know if that's the problem.

  • 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.