Hello,
I am facing an issue where my customer is unable to locate a specific web app resource using the Azure CLI. Below are the details of the commands executed and the observed behaviour:
Command to list all web apps in a subscription:
az rest --method get --url https://management.azure.com/subscriptions/db2a93d4-166a-4ac4-8da6-b3da2dc68e0a/providers/Microsoft.Web/sites?api-version=2024-04-01
This command executes successfully but does not list the specific web app we are interested in.
Command to list all web apps by resource group:
az rest --method get --url https://management.azure.com/subscriptions/db2a93d4-166a-4ac4-8da6-b3da2dc68e0a/resourceGroups/RG_13238_NEXTGEN_DEV/providers/Microsoft.Web/sites?api-version=2024-04-01
This command lists the web app easychat
successfully.
Could you please assist in understanding why the specific web app easychat
does not appear when listing all apps in the subscription but does appear when querying within the resource group? What could be missing or misconfigured?
Thank you for your help!