Transfer the augmented reality tool to Azure, ensuring all functionalities are preserved and optimized for the cloud environment.