If you haven’t taken note of the principal ID/assigned to identify on your web app, you can always show it like this:
az webapp identity show \
--resource-group $RESOURCE_GROUP \
--name $APP_NAME \
--query principalId \
--output tsv
[redacted--some id is printed here]