I am working on an Azure cloud project where we are using Azure Functions (the code is written in Python). We would like to see our app execution logs, but our client, out of security concerns, will not give access to most Azure Portal features (including log stream for Azure Functions). We do have a service principal with which we can execute commands using the azure cli.
My question is whether there is some way to view our app execution logs using said service principal and the azure cli, even if we cannot view the logs in real time (and if so, how).
Thanks so much in advance!