Hello,
Welcome to Microsoft Q&A,
.NET 8 may enforce stricter TLS settings compared to .NET Core 3.1, and the App Service may not has configurations affecting external access.
- Solution:
- Verify that the app service supports the TLS version.
- Azure App Services support TLS 1.2 by default. Ensure no outdated protocols (e.g., TLS 1.0 or 1.1) are in use in your API or external clients.
- Configure .NET 8 API to explicitly use TLS 1.2 or higher:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
- Check if your corporate network or a firewall is enforcing specific SSL/TLS settings and adjust as needed.
- Verify that the app service supports the TLS version.
Please upvote and Accept the answer if it helps.