CorsOptions.MaxAgeInSeconds should be x-nullable: https://stackoverflow.com/questions/64756819/azure-search-documents-throws-error-while-adding-cors-to-the-index-programmatic