Forum Discussion
Dynamics NAV 2016 - Failed to authenticate
Type de source de données Traitement de l'erreur The operation is canceled by user. ID de corrélation 8c0ea3a3-8dfa-d9fe-a1f4-aa562f69f08f ID d'activité 158bfa93-641a-43b3-8134-34dfdab281df ID de demande 158449d7-0b86-4c5f-dd6b-0077ffffecfa Heure Mon Jul 04 2016 11:43:19 GMT+0200 (Paris, Madrid (heure d’été)) Version 13.0.1500.347 URI du cluste rhttps://wabi-north-europe-redirect.analysis.windows.net
Server instance: DynamicsNAV90 Tenant ID: Web service call failed because user could not be authenticated or authorized.
4 Replies
- AnonymousNot applicable
Hi nsaleron,
Based on the above error message, there are some issues with the web service authentication, could you please firstly use Power BI Desktop to connect to Dynamics NAV and check if it is successful? The OData entry in Power BI Desktop should allow you to connect NAV when you provide the same URL as you do in Power BI Service.
Thanks,
Lydia Zhang- nsaleronNew Member
Hi Anonymous,
Thank you for your answer. I have followed the following steps with PowerBI Desktop:
1. I have clicked on the "Get Data" button in the ribbon and then "OData Feed".
2. I have entered the same URL as before (https://navserver.domain.fr:9048/DynamicsNAV90/OData/Company('My%20Cronus') and also tried with the previous URL followed by /powerbifinance)
3. I have entered my basic credentials (username + password)
After a few seconds, PowerBI retrieved all my published services as "Tables" and I am able to browse my data (see screenshot below).
For your information, the server navserver.domain.fr is a computer in a cloud service, so in this test I was not on same local network as the server but connected to it throw the public Internet.
I hope you will be able to help me with that :)
- mcangeliNew Member
I get the same thing. I can connect via my PowerBi Desktop, but it I try to use the built in one on https://app.powerbi.com it fails. I'd really like this fixed as it has the reports already built as a starting point.
Any ideas??
- AnonymousNot applicable
We faced a similar issue when connecting to NAV 2016 from PBI Desktop. Worked well from browser but not from Desktop.
When trying to connect to an actual table in the OData feed it gives the same error. But we were able to connect to "company level" of OData feed and then navigate to the resources from there.
So https://navserver.domain.fr:9048/DynamicsNAV90/OData/Company('My%20Cronus')/powerbifinance didn't work.Instead authenticating to https://navserver.domain.fr:9048/DynamicsNAV90/OData/Company('My%20Cronus') with NAV credentials does work and from there you can navigate to all the tables.