Hello Sakit Atakishiyev
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the error message you provided, it seems that there is an issue connecting to the Managed Service Identity (MSI) endpoint. Here are a few steps you can try to troubleshoot and resolve the issue:
- Check if the MSI is correctly configured for your Azure container instance. Ensure that the system-assigned identity is enabled for the instance.
- Verify the network connectivity of your container instance. The error message suggests that there may be an issue with the network connection. Make sure that your container instance has access to the internet and can reach the MSI endpoint at
[http://169.254.169.254](http://169.254.169.254"http://169.254.169.254/")
. - If you are running your container inside a virtual network, check if there are any network security group rules or firewalls blocking the outbound connection from your container to the MSI endpoint. You may need to allow outbound traffic to the MSI endpoint IP address and port
80
. - Ensure that the Azure PowerShell module is up to date. You can try updating the module to the latest version to see if it resolves the issue.
- If none of the above steps resolve the issue, you can try restarting the container instance to see if it clears any temporary network or connectivity issues.
Hope this helps.