Cherry-pick Azure support into v0.5

Original PR: #2461