Hi @Aakash Pavale
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others "I'll repost your solution in case you'd like to accept the answer.
Ask: In Azure Data Factory v2, I'm trying to create a Power Query (ADF). I'm using Azure SQL to consume the dataset. Within the dataset, I can successfully preview the data.
But in power query I am getting error
We could not evaluate this query due to invalid or missing credentials
Use of parameterized linked service which is not supported in Power Query(made sure there is no parameterized linked service) Use of unsupported authentication type(I have tried this currently i am using SQL Auth)
also tried Remove and re-add the Power Query ref: https://learn.microsoft.com/en-us/answers/questions/757093/azure-data-factory-power-query-error-we-could-not above did not work as well
Solution:
Making the version Legacy in Linked Service made the Power Query Work
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members