4.If your Microsoft Dynamics NAV implementation requires that you use a web service access key, you must specify the NavUserPassword credentials as described in the following steps:
a. In the Advanced dialog box, in the Security section, set the Integrated Security field to Basic.
b. In the Password field, type the web service access key.
c. In the UserID field, type the user name for the Microsoft Dynamics NAV user account. For this walkthrough, use NavTest.
d. In the Source section, in the Service Document URL field, type the URL for the OData web service that you verified in the previous procedure, for example, http://localhost:7048/DynamicsNAV71/OData/.
Service Document Url=http://dynamicsnav:7048/dynamicsnav70/OData/;Include Atom Elements=Auto;Include Data Services Content=True;Include Expanded Entities=False;Namespaces to Include=*;Integrated Security=Basic;User ID=NAVUSER;Password=********;Time Out=600;Persist Security Info=False;Schema Sample Size=25;Retry Count=5;Retry Sleep=100
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
This can be a great alternative to the RDLC reporting.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
I´m working on a BI system for Dynamics NAV 2013 and I would like to use this kind of connection better than SQL ODBC.
The connection (excel + powerpivot) works fine on localhost (a virtual machine on Windows Azure) with this connection string:
http://localhost:7048/dynamicsnav71/Odata
If I try to connect over Internet with Explorer or Chrome works fine too. with this string connection:
http://***.cloudapp.net:7048/dynamicsnav71/Odata
If I try to connect over Internet with Visual Studio 2012 works fine too.
with this string connection:
But it doesn't work over internet with this excel and powerpivot
http://***.cloudapp.net:7048/dynamicsnav71/Odata
Does Somebody find a solution for that?
The only change I made was to use the login account. I had to use the login and password for the account that was used for Dynamics NAV service.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
I use NAV 2013 R2 build 36897 and use credential type NavUserPassword to create a OData web service. When I run link "https://win2k12.nav.com:4/TestCronusDB/OData/Company('CRONUS International Ltd.')/LocationList" in browser, everything is fine. I have used my domain account and its web service access key for User ID and Password in Excel. But, when I try to test connection, I got error like below. The connection string is like below. Please help. Thank you.
Johanna
Try using IP address instead of server name.