Hi Nikola,
If you're facing difficulties installing the Azure CLI on your Windows server due to restricted access to the following HTTPS sites:
You can try the following steps to allow access and proceed with the Azure CLI installation:
Firewall Settings:
- Check your server's firewall settings to ensure that outgoing connections to external HTTPS sites are permitted. If necessary, consult with your network administrator or IT department to adjust the firewall configurations accordingly.
Proxy Configuration:
- If you're using a proxy server to access the internet, make sure that the proxy settings are correctly configured on your Windows server. This might involve setting the proxy configuration in environment variables or using a
.npmrc
file for the Azure CLI installation.
Network Restrictions:
- If your server is subject to strict network restrictions or belongs to a network with limited access, reach out to your network administrator to grant access specifically to the HTTPS sites mentioned (https://aka.ms/ and https://azcliprod.blob.core.windows.net/).
Temporary Workaround:
- As a temporary solution, try downloading the Azure CLI MSI installer from a different machine that has internet access. Once downloaded, transfer the installer file to your Windows server and proceed with the installation.
Try to work with your network administrator or IT department to ensure that any changes align with your organization's security policies.
I hope this helps?