Overview
If you see the error message 'The target principal name is incorrect. Cannot generate SSPI context' when running a PowerBI report, you need to update your SQL credentials. This guide shows you how to resolve this issue.
This error occurs in DeltaWMS version 8 and later.
Update your SQL credentials
To fix this error, follow these steps:
Go to the Power Query Editor window, or click the three-dot menu on the right-hand side, then click Edit Query.
Click Data Source Settings from the ribbon menu.
In the Data Source Settings window, select the affected data source, then click Edit Permissions.
In the Edit Permissions window, under Credentials, click Edit.
Select Database, then enter your SQL credentials.
Click Save, then refresh all data.
Your PowerBI report will now run successfully.
