Authorization error prevents power BI Dataset refresh in Azure Synapse workspace

Glasier 440 Reputation points
2024-02-18T15:17:06.02+00:00

The web activity intended to refresh the Power BI dataset within the Azure Synapse Workspace encountered an error:

{
"errorCode": "2108",
"message": "The Web Activity failed with HttpStatusCode - 'Unauthorized', and message - ''",
"failureType": "UserError",
"target": "StartProcessingPowerBIRefresh",
"details": []
}

It's worth noting that while I can refresh the Power dataset using Logic Apps and the Power BI App, I encountered difficulties when attempting to do so from within the Synapse Workspace.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,264 questions
{count} votes

Accepted answer
  1. Harishga 5,995 Reputation points Microsoft External Staff
    2024-02-19T08:01:36.1333333+00:00

    Hi @Glasier

    Welcome to Microsoft Q&A platform and thanks for posting your question here.

    If you get an error while trying to refresh a Power BI dataset in your Azure Synapse Workspace, it usually means that the workspace doesn't have permission to access the dataset. This can happen because of incorrect login information or not enough permissions.     

    To resolve this issue, follow the below steps:

    check that the workspace can access the dataset, make sure the login information is accurate and up-to-date, and confirm that the data sources used in the dataset are set up correctly with the necessary permissions.      

    If you're using basic authentication, make sure the login information is safe and the data sources have the necessary permissions. If you're using Azure Active Directory authentication, ensure that the correct service principal has the right role in Power BI and that the workspace has the necessary permissions.  
            

     Reference
    https://learn.microsoft.com/en-us/azure/data-factory/data-factory-troubleshoot-guide#error-code-2108

    I hope this information helps you. Let me know if you have any further questions or concerns.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.