Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

Posted on by 17

I am encountering issues with my Customer Insights environments when I am trying to connect to Dataverse through the Power Query connector

I get the below message even if the user is valid. I used to connect to both the environment domain (dataverse tenant) and CI. Both environment are created under the same tenant.

pastedimage1636715276406v1.png

 

Does 

  • RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    This needs to be marked as the answer. It makes sense when you think about it. They are asking for the Environment Domain and not the full URL. It would just be nice if either the error message was clearer or there was a hint that it didn't require the https://

    Even better would be if they just removed it for you, knowing that 99% of users will probably type the full url as you would normally in any other place when entering the environment address

  • Arnaud Lebet Profile Picture
    Arnaud Lebet 17 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Great thanks for your feedback Reddy.

    Best,

    Arnaud

  • Verified answer
    rdj Profile Picture
    rdj 87 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Hi Arnaud Lebet ,

    The solution is actually by getting rid of "HTTPS://" in the URL when you ingest the data using Power Query.

    Reddy

  • rdj Profile Picture
    rdj 87 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Hi John Wiese,

    I'm currently in another PoC where we have exactly the same urgent issue (using Dataverse connector using Power Query = invalid credentials).

    Could you please enlighten here what the causes could be?

    - I entered the correct Dynamics Environment domain

    - successfully signed in

    - click on "Next"

    - cannot proceed due to Invalid Credentials

    Then, to be sure, I went to PowerApps to check the existing connections, they are all fine (connected).

    I'd highly appreciate your help.

    Reddy

  • John Wiese Profile Picture
    John Wiese on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    no, this is not correct.  These are two totally different methods and unrelated.

    The Power Query -> Dataverse connector uses the connector to get the meta data for the entities you select from your dataverse, allows you to transform that data, then imports the transformed data into the CI managed (or your data lake in the BYODL scenario) for use within CI.

    The "Connect to Dataverse" method simply lets you choose which entities you want to use within CI and retains a link to the Dataverse datalake.  Whenever we need to use that data (M3, or to build a measure, segment, activity) we connect to the Dataverse and pull the current (complete, all fields, all rows) dataset perform the task and then discard the data from memory.

    They are in no way linked together.  You can do one, or the other...or both.

  • Suggested answer
    FrancisRomstad Profile Picture
    FrancisRomstad 205 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Hi Arnaud,

    The data lake connector that you are missing will connect to the data lake data created by your "Microsoft Dataverse" import method.

    So the first import method creates the data lake and updates that one-to-one with dataverse entities you selected. Then your Dataverse - Data Lake (preview) will connect to that data lake and you can transform with Power Query on that data.

    -Francis

  • Arnaud Lebet Profile Picture
    Arnaud Lebet 17 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Ok, thank you. I will create a ticket for this then.

    Yes I did also create a data source using the Microsoft Dataverse Import Mode but there I have the issue that the data that I am ingesting is corrupt and cannot be used in the unification process.

    What do you mean by "The data lake connector will get data from output of the first data source" ?

    Arnaud

  • Verified answer
    FrancisRomstad Profile Picture
    FrancisRomstad 205 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Ok ... that's the reason ..

    I believe you need to create a ticket on this. I would think this connector was turned on for all CI instances now.

    And you did create a data source based on

    pastedimage1636727327440v1.png

    The data lake connector will get data from output of the first data source.

    -Francis

  • Arnaud Lebet Profile Picture
    Arnaud Lebet 17 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Thanks for your quick feedback.

    I don't have this connector available. I am using this one:

    pastedimage1636726819097v1.png

  • Suggested answer
    FrancisRomstad Profile Picture
    FrancisRomstad 205 on at
    RE: Invalid credentials - Authentication to Dataverse connectors (Power Query Import Mode)

    Hi Arnaud

    Are you using this connector for the second step?

    pastedimage1636726489107v1.png

    This is the one to go for. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans