Forum Discussion
Direct query error: Please help
Hey team
we have configured a report with DirectQuery to Azure SQL DB.
We have checked the checkbox so that the PowerBI login credentials are passed to Azure SQL DB(DirectQuery)
However we get this error on the report.
Cannot load model
Couldn't load the model schema associated with this report. Make sure you have a connection to the server, and try again.
Hide details
- Underlying ErrorPowerBI service client received error HTTP response. HttpStatus: 400. PowerBIErrorCode: QueryUserError
- QueryUserErrorLogin failed for user '<token-identified principal>'. The server is not currently configured to accept this token.. The exception was raised by the IDbConnection interface.
Please can anyone suggest what might be going wrong here.
THanks
Did you add Azure AD id to the Azure SQL DB? if not you need to add the user. Also, make sure IP is set up correctly.
https://learn.microsoft.com/en-us/answers/questions/133709/login-failed-for-user
1 Reply
- rubayatyasminCommunity Champion
Did you add Azure AD id to the Azure SQL DB? if not you need to add the user. Also, make sure IP is set up correctly.
https://learn.microsoft.com/en-us/answers/questions/133709/login-failed-for-user