In Azure Data Factory v2, I'm trying to create a Power Query (ADF).error: We could not evaluate this query due to invalid or missing credentials

Aakash Pavale 25 Reputation points
2024-10-07T12:08:06.5133333+00:00

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

User's image

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

Thanks,
Aakash

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,425 questions
{count} vote

Accepted answer
  1. Smaran Thoomu 22,030 Reputation points Microsoft External Staff
    2024-10-08T12:00:45.22+00:00

    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:

    User's image

    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

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Aakash Pavale 25 Reputation points
    2024-10-08T10:55:06.8733333+00:00

    User's image

    Making the version Legacy in Linked Service made the Power Query Work


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.