I have a .NET Core application which works fine when running inside Linux containers, but when i run the same code in windows container it fails to get the managed identity token. Tried running explicitly from the cmd and observed its not able to get the identity token. Anyways to resolve this. I want my container to return the token when I run the curl command below -
curl "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://vault.azure.net" -H “metadata”:“true”
if anyone has any idea on what needs to be done, would be of great help as am stuck.