Resolving Access Issues to OData and SOAP Services with Dynamics NAV

by | Updated March 15, 2018 | Dynamics 365 Business Central, 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

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

december

02dec9:00 am12:00 pmOnline Workshop - Dynamics GP Year End Close (Morning Session)

03dec11:00 am12:00 pmConfab with Stoneridge - Livestream: Live Agents, Power Virtual Agents, Omnichannel – Oh My!

03dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year End Close (Afternoon Session)

09dec10:00 am10:30 amThe Modern Manufacturer - Manufacturing Policy Management

17dec11:00 am12:00 pmConfab with Stoneridge - Livestream - Technology in 2020: A Year in Review

january

06jan10:00 am10:30 amThe Modern Manufacturer - MRP v MPS – What, When and How

14jan11:00 am12:00 pmConfab with Stoneridge - Livestream - Looking Forward: Predictions for Technology in 2021

20jan10:00 am10:30 amThe Modern Manufacturer - Demand Forecasting Functionality

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP 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.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X