53
Whitelisting IP addresses is a common practice used by third party APIs. Unfortunately, BC in the cloud requires third parties to whitelist all of Azure datacenter IP addresses which is usually not acceptable by third parties. An alternate option is to use a Proxy server with a static IP address. However, the HttpRequest option does not appear to have this capability. Here is .net code where one can specify a proxy. It would be great to have a proxy property.


WebRequest request2 = (HttpWebRequest)WebRequest.Create("https://authapi.demo.bluetarp.com/auth/v1.1/207/customers?merchant-cid=10000");
request2.Headers.Add(HttpRequestHeader.Authorization, "Bearer " + responseFromServer);
request2.Proxy = new WebProxy("http://52.150.51.110:33218",true);
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team

Comments

D

We also have this issue, we need to whitelist the outbound IP address used by the HttpClient and are unable to add the tens of thousands of addresses assigned to each datacentre. It would be great if Microsoft could provide a fixed address rather than using a proxy server.

Category: Development

D

Having a Proxy with NTLM authentication, I'd also like to request to have the UseDefaultCredentials logic

Category: Development