diff --git a/server/utils/helpers/updateENV.js b/server/utils/helpers/updateENV.js
index a026fe33804fdad23e45cab7558e0b35d0066417..b23855877b13a8770e1578c137c3b85cbea6d427 100644
--- a/server/utils/helpers/updateENV.js
+++ b/server/utils/helpers/updateENV.js
@@ -425,8 +425,8 @@ function validChromaURL(input = "") {
 function validAzureURL(input = "") {
   try {
     new URL(input);
-    if (!input.includes("openai.azure.com"))
-      return "URL must include openai.azure.com";
+    if (!input.includes("openai.azure.com") && !input.includes("microsoft.com"))
+      return "Valid Azure endpoints must contain openai.azure.com OR microsoft.com";
     return null;
   } catch {
     return "Not a valid URL";