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

june

02jun2:00 pm2:30 pmBusiness Intelligence for Batch Manufacturers

16jun10:00 am10:30 amHow AP automation can speed up month-end close in D365 Finance

17jun11:00 am12:00 pmConfab Live with Stoneridge – Real Time Marketing Strategies for Success

23jun10:00 am10:30 amThe Modern Manufacturer: Cost Accounting in D365

30jun10:00 am10:30 amAP Automation Checklist for a 2022 Rebound

30jun2:00 pm2:30 pmAchieving Success: How Technology Is Helping Nonprofits Thrive

july

01jul11:00 am12:00 pmConfab Live with Stoneridge – Dataverse Virtual Entities

14jul12:00 pm12:30 pmBeyond Reporting - What Business Intelligence Can Do For Your Agribusiness

15jul11:00 am12:00 pmConfab Live with Stoneridge – Integration Strategies for End User Success

21jul10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

21jul12:00 pm1:00 pmIs it Worth it to Upgrade to Dynamics 365 Finance and Supply Chain Management? - Everything AX Users Need to Consider

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