Azure: fix for non-interactive sessions