Resolving Access Issues to OData and SOAP Services with Dynamics NAV

By Warren Young | December 9, 2017

Resolving access issues to odata and soap services with dynamics nav

Whether you are attempting to utilize Power BI, Excel (including the “Edit in Excel” Feature in Dynamics 365), or another reporting tool like Jet Reports, there can be some hiccups in getting access to web services via Dynamics 365 or Dynamics NAV.

Here’s a rundown of common troubleshooting steps:

Verify Your User Name and Access Key (Dynamics 365, Dynamics NAV)

When accessing Dynamics 365 web services, your username and password are different than your login. In this case, your username is your User “Code” and the password is your “Web Service Access Key”:

1. In Dynamics 365 Business Central, navigate to the Users page (either use the search for Users or navigate to Company Settings > Users).

2. Select your User Account and click Edit.

Verify your user name and access key

3. Verify your User Name (which may be different from your Office 365 account).

4. 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.

Verify your user name and access code

Verify Outbound Firewall Settings (Dynamics NAV)

For an on-prem installation of Dynamics NAV, you’ll need to establish an outbound rule in your firewall to allow outside access to web services. The default ports are 7047 and 7048; however, your configuration may be different. You can find the port settings on the Dynamics NAV Service Tier configuration to verify.

Verify outbound firewall settings

ERR_CONNECTION_TIMED_OUT – Check Inbound Firewall Settings (Dynamics 365, Dynamics NAV)

This one tripped me up before. We had a client that could not successfully use “Edit in Excel” as intended with Dynamics 365. While remote, I checked their environment and had no issue with Edit in Excel … but when I was onsite, I discovered the same problem they were having. It turned out to be their INBOUND firewall rules were preventing access to the web service.

If you are getting an error such as ERR_CONNECTION_TIMED_OUT when attempting to access Web Services, it may be that your INBOUND firewall settings are blocking access to the web service ports. This can vary from network to network, so it’s possible you’ll be able to connect from one location such as your home but not from another location such as a satellite office.

If you are connecting to a Dynamics 365 instance, the ports will be 7047 and 7048. Those are also the default ports for Dynamics NAV, but your specific installation may be different (see above for looking up this information on the Service Tier administration).

Related Posts

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X