In this post, we'll cover how to integrate your Dynamics 365 for Financials instance directly with Power BI (free version).
Prerequisites
Office 365 account with Dynamics 365 for Financials and Power BI (free) accessible. This is not normally an issue unless you are in an Office 365 demo/tenant environment with limited apps.
Contents
Verify User Account and Web Service Authentication Key
Verify OData URL to Connect to Power BI
Power BI Get Data - Connect to Dynamics 365 for Financials
Add Power BI to Dynamics 365 for Financials Role Center
1. Verify User Account and Web Service Authentication Key
In Dynamics 365 for Financials, navigate to the Users page. (Either use the search for Users or navigate to Company Settings > Users.)
Select your User Account and click Edit
Verify your User Name (which may be different from your Office 365 account)
Verify your "Web Service Access Key" if the field is blank or you'd like to generate a new one, click "Change Web Service Access Key" in the ribbon
We'll be using the User Name and Web Service Access Key in upcoming steps.
2. Verity OData URL to Connect to Power BI
To find the OData URL in Dynamics 365 for Financials:
Use the search to find Web Services
Copy the OData V4 URL from one of the services and strip off the end
In the current integration, we need to modify this URL to use with Power BI.
Copy the URL to Notepad or a similar text editor. It should look something like the following:
Search for Dynamics 365 for Financials. You'll notice three out-of-the-box dashboards. We'll use the standard dashboard for the remained of this walk-through, but the steps can be repeated to pull in all three. Select Dynamics 365 for Financials and click Get it Now.
In the OData Feed URL, enter the URL you modified in the Verify OData URL to Connect to Power BI step.
After clicking next, this will ask for an Authentication Method. Choose Basic, fill in the user name and password and click sign in.
Username = Your username from Dynamics 365 for Financials, which may be different than your Office 365 account
Password = Your Web Service Access Key
NOTE: Be careful of spaces at the beginning or end of your key. You can paste the key to Notepad to verify.
Once imported, your Dynamics 365 for Financials dashboard will be accessible on Power BI.
Dynamics 365 for Financials Dashboard
Dynamics 365 for Financials - CRM Dashboard
Dynamics 365 for Financials - Sales Dashboard
4. Add Power BI to Dynamics 365 for Financials Role Center
After you have connected Power BI to Dynamics 365 for Financials, you can also pull the stock (or your modified) Power BI reports onto your Role Center(s). Here's how to do that:
Open a Role Center in Dynamics 365 for Financials and scroll down to the Power BI Reports section.
Click Power BI Reports and select Reports.
Select the Report(s) you want to see and click Enable and then OK.
You'll now see the initial report visualization added to your Role Center. You can click and focus on different sections or click the Power BI Reports drop down, which will have additional features to expand, show previous, or next report in the series.
Expand:
You may find that there is a particular visual you'd like to emphasize on your Role Center. You can always modify a report in Power BI and pull that into Dynamics 365 for Financials. Find more information on modifying Power BI reports here.
Troubleshooting
Verify the OData URL is Accessible
If you are unsure of access to your OData URL, you can walk through the following steps outside of Power BI to troubleshoot. The steps are initially the same as Verify OData URL to Connect to Power BI.
To find the OData URL in Dynamics 365 for Financials:
Use the search to find Web Services
Copy the OData V4 URL from one of the services and strip off the end.
In the current integration, we need to modify this URL to use with Power BI.
Copy the URL to Notepad or a similar text editor. It should look something like the following:
When you enter your URL, you will be prompted with a login.
Username: Your username from Dynamics 365 for Financials, which may be different than your Office 365 account
Password: Your Web Service Access Key
NOTE: Most versions of Internet Explorer will give a message "Cannot display this feed."
Using another browser such as Google Chrome will work to display/verify the feed.
About Stoneridge Software
Stoneridge Software is a unique Microsoft Gold Partner, with specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about and develop trusting, long-term relationships with our clients.
If you'd like further assistance regarding Power BI and Microsoft Dynamics 365 for Financials, please reach out to us at solutions@stoneridgesoftware.com or 612-354-4966.
2 thoughts on “How to Integrate Power BI with Dynamics 365 for Financials”
Amanda
I'm walking through the setup from this blog (which is great, by the way), and I've run into an error. I've gotten to the step where I'm connecting to Dynamics 365 for Financials. I'm getting an error that states:
Failed to update data source credentials.
The status code is 400.
As a note, I am using an evaluation company to try to understand D365.
Hi Amanda, thanks for the comment! Here is Warren's response: This is tough to troubleshoot without seeing or access, but …
Searching online for that Error Code and Message, I see similar reports but no conclusive follow-up on what resolved the issue. It could be a timeout issue between Power BI and D365 for Financials that ultimately resolved itself or a user miss-keying part of the data.
It should work with an Evaluation Company. The blog post was written using an Evaluation Company as the example (and we’ve connected real companies for clients to Power BI).
Generic troubleshooting steps to take (if you haven’t already tried these):
1. Try a different D365 for Financials dashboard (e.g. “Microsoft Dynamics 365 for Financials – CRM” instead of “Microsoft Dynamics 365 for Financials”)
2. Ensure the “Authentication Method” is Basic and you are using the Web Service Key (from Financial’s User Setup) in the “Password” field.
3. Use the Troubleshooting “Verify the OData URL is Accessible” steps to verify you can access the data feed, independent of Power BI. If you aren’t able to get this to pull up, Power BI won’t either.
If you are able to get a screenshot of the “Connect to Microsoft Dynamics 365 for Financials” screen prior to clicking “Sign In” as well as the full error details, that might be helpful.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. However you may visit Cookie Settings to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
I'm walking through the setup from this blog (which is great, by the way), and I've run into an error. I've gotten to the step where I'm connecting to Dynamics 365 for Financials. I'm getting an error that states:
Failed to update data source credentials.
The status code is 400.
As a note, I am using an evaluation company to try to understand D365.
Thanks!
Hi Amanda, thanks for the comment! Here is Warren's response: This is tough to troubleshoot without seeing or access, but …
Searching online for that Error Code and Message, I see similar reports but no conclusive follow-up on what resolved the issue. It could be a timeout issue between Power BI and D365 for Financials that ultimately resolved itself or a user miss-keying part of the data.
It should work with an Evaluation Company. The blog post was written using an Evaluation Company as the example (and we’ve connected real companies for clients to Power BI).
Generic troubleshooting steps to take (if you haven’t already tried these):
1. Try a different D365 for Financials dashboard (e.g. “Microsoft Dynamics 365 for Financials – CRM” instead of “Microsoft Dynamics 365 for Financials”)
2. Ensure the “Authentication Method” is Basic and you are using the Web Service Key (from Financial’s User Setup) in the “Password” field.
3. Use the Troubleshooting “Verify the OData URL is Accessible” steps to verify you can access the data feed, independent of Power BI. If you aren’t able to get this to pull up, Power BI won’t either.
If you are able to get a screenshot of the “Connect to Microsoft Dynamics 365 for Financials” screen prior to clicking “Sign In” as well as the full error details, that might be helpful.