Getting "Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context." error when trying to connect Synapse Studio to Power BI

Swapnil kumar 26 Reputation points
2021-09-17T15:39:27.083+00:00

Getting "Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context." error when trying to connect Synapse Studio to Power BI when running the downloaded .pbids file according to the steps in this article :
https://learn.microsoft.com/en-us/azure/synapse-analytics/get-started-visualize-power-bi

I am ale to connect to the sql server, but on selecting the database in the navigator on Power BI, I see the following error:

133147-image.png

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.
4,422 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 78,331 Reputation points Microsoft Employee
    2021-09-20T11:31:00.473+00:00

    Hello @Swapnil kumar ,

    Thanks for the question and using MS Q&A platform.

    As we are unable to repro this issue and able to successfully able to connect the Azure Synapse Analytics with Power BI desktop.

    133611-image.png

    As per the similar issue, discussed on the Power BI community forum: Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context.

    You may follow the below steps help to resolve the issue:

    • Click on File and select Option and settings
    • Click on Data Source Settings
    • In the "Data Source Settings" window, select the affected data source and click on "Edit Permissions"
    • In the "Edit Permissions" window, under "Credentials", click on "Edit".
    • Select "Database" and fill up the SQL credentials.
    • Save and refresh all data.

    In case if the above solution does not works for you, I would request you to open a new issue on Power BI community Forum.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful