Thank you for sharing the details,
This error usually happens due to:
Untrusted or expired SSL certificates
Network restrictions (firewall, proxy, VPN)
Outdated Visual Studio or Azure SDK
Incorrect system time or DNS issues
Troubleshooting Steps
- Run Visual Studio as Administrator
Right-click Visual Studio and choose Run as administrator.
- Update Visual Studio & Azure Workload
Open Visual Studio Installer → Check for updates.
Ensure Azure development workload is installed and up to date.
- Check System Date & Time
Make sure your system clock is accurate. SSL relies on valid timestamps.
- Trust the Certificate
If using a self-signed certificate:
Open mmc.exe
→ Add Certificates snap-in → Select Computer Account
Import the certificate into **Trusted Root Certification Authorities**
- Flush DNS Cache
bash
ipconfig /flushdns
- Temporarily Disable Firewall/Antivirus
These may block SSL ports or Azure endpoints.
- Sign In via Azure CLI
bash
az login
This refreshes your credentials and may fix subscription/resource group visibility.
- Try a Different Network
Switch to a non-corporate network to rule out proxy or VPN interference. This error usually happens due to:
Let me know if the issue persists after following these steps. I’ll be happy to assist further if needed.