Managed Identity issue in windows container

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 "" -H “metadata”:“true”

if anyone has any idea on what needs to be done, would be of great help as am stuck.