Perform the following steps:
- Authenticate your Azure Account's identity using Azure CLI by running the az login command in the Command Prompt, as shown in the following screenshot:

- You will be prompted to provide your Azure account credentials so that you can log in to the Azure portal. Once you have provided your credentials, it will show you the available subscriptions in the command console.
- Now, we need to retrieve the service principle details by running the following command:
az resource show --name <<Function App Name>> --resource-group <<Resource Group>> --resource-type Microsoft.Web/sites ...