Azure App Service - how to get instance ID in Java

Jess 96 Reputation points
2022-04-13T10:03:46.72+00:00

192648-image.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,944 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 16,191 Reputation points
    2022-04-19T02:36:35.277+00:00

    Hi @Jess , apologies for the delay in response. The following environment setting will have the instance id the current request is running on: WEBSITE_INSTANCE_ID as stated in this SO thread.

    Hope that helps,
    Grace