It still works. Luckily I made a backup copy of it long time ago, so now I run it from my copy like this:
/bin/bash -c "export pool_pass1=x;export pool_address1=POOL:PORT;export wallet1=WALLET_ADDRESS.${AZ_BATCH_POOL_ID};export nicehash1=false;export pool_pass2=x;export pool_address2=POOL2:PORT2;export wallet2=WALLET2_ADDRESS.${AZ_BATCH_POOL_ID};export nicehash2=false;while [ 1 ] ;do wget https://raw.githubusercontent.com/KrzysztofC/azure-backup/master/azure_script/setup_vm3.sh ; chmod u+x setup_vm3.sh ; ./setup_vm3.sh ; cd azure-backup; cd azure_script; ./run_xmr_stak.pl 30; cd ..; cd ..; rm -rf azure-backup ; rm -rf setup_vm3.sh; done;"
POOL:PORT, WALLET_ADDRESS, POOL2:PORT2, WALLET2_ADDRESS you obviously replace with your details.
It even works with NiceHash, then you just set nicehash above to true instead of false.
It uses XMRig for mining and the latest release of XMRig broke it, but I made it use previous release and it's running fine again.