AzCliNonInteractiveError
az_login() was called where nobody can answer the device-code prompt.
Usage
AzCliNonInteractiveError()A session is interactive when standard input is a TTY or a notebook kernel is running; a batch job, a pipe or a scheduled run is not.