Hi, I am trying to connect Power BI desktop to Dynamics 365 Online.
After putting in the correct credentials, it starts to load the metadata then fails with this message:
"OData: The feed's metadata document appears to be invalid"
I am using the OData endpoint URL that I copied from the Instance Web API section in D365 Settings eg: https://crmxxxxx.api.crm.dynamics.com/api/data/v9.0/.
This is a clean install of Dynamics 365 so there is no customisation of the schema.
I can return the metadata in a browser and nothing obvious stands out.
I have successfully connected to a version 8 instance of Dynamics 365 so I know that I have the right steps.
Is there a known issue with Power BI desktop (latest version) and the July 2017 release of Dynamics 365?
Solved! Go to Solution.
Even though you are connecting to a 9.0 instance, change your url to 8.2 and it will connect
Not working for me either.
I tried changing the API version in the URL I supply to PowerBI doesn't make any difference. Still get the same excuse
"OData: The feed's metadata document appears to be invalid."
Yet the exact same URLs that fail in PowerBI work just fine in the browser. I am able to retrieve the OData JSON.
Same issue different machine accessing same URL. Still receiving the same error regardless of version in the URL.
BTW... all of the following URLs work poerfectly in IE, Edge, Firefox, Opera... but not in PowerBI
https://<my tenant>.crm.dynamics.com/api/data/v8.2/ <-- returns OData JSON of all Entities
https://<my tenant>.crm.dynamics.com/api/data/v9.0/ <-- returns OData JSON of all Entities
https://<my tenant>.crm.dynamics.com/api/data/v8.2/accounts <-- returns all Account data
https://<my tenant>.crm.dynamics.com/api/data/v9.0/accounts <-- returns all Account data
https://<my tenant>.api.crm.dynamics.com/api/data/v8.2/accounts <-- returns all Account data
https://<my tenant>.api.crm.dynamics.com/api/data/v9.0/accounts <-- returns all Account data
Is there a dependency I am missing. Am I missing something in my URL?
Is there a way for me to see the actual response message?
I am also experiancing this issue even though I am pointing at the v8.2 api in my URL. I have tried it with several organization tenants for different customers and they all fail to load any oData information from Dynamics. I had other coluges try to connect to our service with the same results:
I need to open a ticket, but not sure if it is a Dynamics 365 issue, or PowerBI.
If you paste the OData URL into a browser are you getting a valid JSON document back? If you do, then I think the problem is PowerBI, not Dynamics.
Append one of your entity types to the URL, https://<your tenant>.crm.dynamics.com/api/data/accounts (For example) this will return all of you account data. IF you get that in a browser, the issue is PowerBI
Keep your eyes open for our upcoming T-shirt design contest!
It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.
We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.
We are super excited for our update this month, as we are releasing two of our top community requests!
Join us for the first ever Power Platform Online Conference!