code for retriving information from azure