The error message you're encountering, stating "endpoints_resolution_error: Error: could not resolve endpoints," indicates an issue with resolving the Azure endpoints in your network environment. Here are a few steps you can try to resolve this problem:
Clear Browser Cache: Clear the cache and cookies of your Microsoft Edge browser to ensure that any outdated or conflicting information is removed. Close the browser, clear the cache, and then try logging into portal.azure.com again.
Check Network Connectivity: Verify that your Windows 11 machine has a stable and reliable internet connection. Ensure that there are no network restrictions or firewall settings blocking the connection to Azure services.
Date and Time Settings: Confirm that the date and time settings on your Windows 11 machine are accurate. An incorrect date or time can cause issues with SSL certificate validation, leading to trust errors.
Trusted Sites: Add portal.azure.com and any related Azure domains to the list of trusted sites in your Microsoft Edge browser. This can help ensure that the browser recognizes and trusts the Azure endpoints.
Proxy Settings: If you are using a proxy server, verify that the proxy settings on your Windows 11 machine are correctly configured. Incorrect proxy settings can interfere with the resolution of Azure endpoints. You can check the proxy settings in the Windows Settings or the Internet Options of your browser.
DNS Resolution: Check if there are any DNS resolution issues on your Windows 11 machine. Ensure that your machine can resolve the Azure endpoints by pinging them or using the nslookup command in the command prompt.
If the issue persists after trying these steps, it may be helpful to reach out to your network administrator or IT support team. They can provide further assistance in troubleshooting any network or configuration issues specific to your environment.