Welcome to Azure AI Q and A moderate forum. Thank you for posting your query here.
As per your statement, computes are starting normally but issues are coming when switching to VS code desktop/web or Jupiter. Could you confirm that you are using Azure managed virtual network and allowed the domains in VS code section in below document and ports 8704 to 8710 (dynamic selection) on your Network security group or firewall.
Kindly refer below document:
How to configure a managed network for Azure AI Foundry hubs - Azure AI Foundry | Microsoft Learn
Could you also share the SKU details of working and failing computes.
Thank you.