fixed problem with Azure API endpoint