Try to azure sample code

Try to apply azure sample code