Home > OS >  KeyError: 'IDENTITY_ENDPOINT' error in Azure environment
KeyError: 'IDENTITY_ENDPOINT' error in Azure environment

Time:09-16

I had deployed my application in the Azure Linux environment.

I followed the official python example: Adding a system identity

To confirm that this has created the 2 environment variables we expect, again, in the Portal for your App Service, go to an SSH session (this is in place of the old Console option).

SSH

In the shell, type printenv to see all the environment variables set. Look for the 2 that your app is currently failing to find:

Identity env vars

If they're missing let me know and at least we'll be better placed to dig further.

  • Related