Fixing up Azure sample