web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

PowerBI - Failed to update data source credentials

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have been trying to connect my Financials with Power BI but keep running into the same error message when trying to connect to the data.  I have followed the directions from this post https://community.dynamics.com/business/b/dynamics365businesscloudfronts/archive/2016/12/27/dynamics-365-financials-connector-for-power-bi-embedded but I am still not able to get it to work.

Here is a picture of the error message I receive when I try to connect to the data services in PowerBI.

PowerBI-Error.png

Has anyone else been having this issue?

Thanks in advance!

  • Chris Bulson Profile Picture
    Microsoft Employee on at

    Hello,

    Have you published extra Web Services endpoints on your 'Web Services' page?  How many and\or what pages\queries?

    Thanks,
    Chris

  • Suggested answer
    AJAnsari Profile Picture
    5,754 on at

    I'd check the following:

    I see a portion of your company name in the screenshot (starts with 'copy cro.....'). As Chris asked, have you made sure that the Web Services needed are published in that particular company?

    Second, what are you using for the Username and password? Make sure the user name is the value in the User Name field, not necessarily the O365 user's e-mail. The Password is the value in the Web Service Access Key field for that user (all the way to the last '=' sign).

    I've noticed that when I copy that value from some browsers, it will add an extra space at the end or a '>' character in a second line. So be sure to paste it somewhere like notepad to make sure you've got the web service access key correctly copied to the clipboard.

    Beyond that, it should work - I use it all the time, including today. :-)

    I hope this helps! If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

  • Chris Bulson Profile Picture
    Microsoft Employee on at

    Assuming everything you are putting in is correct... I'm actually wondering if you've added extra Web Services.

    For example, I know that if you add Page ID 9177 (Allowed Companies) it will break the Metadata so that you can't connect.  If I add this Web Service to my environment I am able to reproduce this same error.

    There may be other Web Services that cause a problem but this is the only one that I am aware of at the moment.

    Thanks,

    Chris

  • Verified answer
    bhendricks Profile Picture
    on at

    Thanks for all the responses!  Chris you were correct, when I checked my web services page I noticed that there were some added objects.  I removed about three of them and I know that Allowed Companies was one of them, and power bi is working fine now.  Thanks again!

  • George Sagen Profile Picture
    1,005 on at

    I had the same issue.  

    • For the URL I went to Web Services and copied the OData V4 URL up to the point where they closed the parenthesis around the company name.
    • For my username, I had to enter it in the format FIRSTNAME.LASTNAME, as a previous poster noted, and not use my email address that I normally use to authenticate to Dynamics 365.
    • For the password, I opened my user record, navigated to the Web Service Access section, and had to generate the Web Service Key, since the field was blank. I then used the key that was generated as the password. I'm sure the instructions are all spelled out nicely somewhere in a training video.

    Now I need a good place to store the key so it doesn't get lost...

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans