Change AzureProfile so it works on any profile file