https://login.microsoftonline.com & D365 CRM Environment Url are not accessible in .NET 6 unit test project & .NET 6 Console App in Windows server. Error: “No such host is known” is shown.

Vivek Gupta 1 Reputation point
2023-08-28T09:54:16.94+00:00

Hi,

https://login.microsoftonline.com& D365 CRM Environment Url are accessible in .NET Framework 4.8 (unit test project & Console App) in Windows server, but are not accessible in .NET 6 (unit test project & Console App) in Windows server. Error: “No such host is known” is shown.

I have configured the proxy settings correctly and the unit tests for the .NET 6 unit test project are passing in local environment. But still https://login.microsoftonline.com & D365 CRM Environment Url are not accessible in .NET 6 (unit test project & Console App) in Windows server (Error: “No such host is known”).

Please let me know the solution for this issue.

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.