Configure Environment for Web Services

Microsoft Dynamics 365 Business Central communicates with the database through the Microsoft Dynamics 365 Business Central Server service.

Set Up Environment for the Microsoft Dynamics 365 Business Central Web Service

Use Netsh.exe to run the following commands (note that this command is case sensitive).

NOTE

In the commands below the default port number on which the SOAP Web service is running (7047) and the name of the Microsoft Dynamics 365 Business Central Server instance are used. If the SOAP Web service is running on the other port and the other Microsoft Dynamics 365 Business Central Server instance name is used, it must be specified instead of the default ones.

Step 1: Delete any entries that use your host name and Web service port by running the following command:

Copy
netsh http delete urlacl url=http://+:7047/

Step 2: Register the port by running the following command:

Copy
netsh http add urlacl url=http://+:7047/YourDynamics365BCServerInstance user=DomainName\USER

NOTE

Replace DomainName\USER with your domain name and the name of the user that is running the Web service.
By default, the command looks the following way:

Copy
netsh http add urlacl url=http://+:7047/Dynamics365BCServer user="NT AUTHORITY\NetworkService"