From 4f9054ef376f3ed766430abe385886ffbd49119a Mon Sep 17 00:00:00 2001 From: sunghyunkang1111 <114709653+sunghyunkang1111@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:42:40 -0500 Subject: [PATCH] update graph endpoint (#1637) --- src/ConfigContext.ts | 2 +- src/Utils/EndpointValidation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ConfigContext.ts b/src/ConfigContext.ts index b53409bba..d9112642e 100644 --- a/src/ConfigContext.ts +++ b/src/ConfigContext.ts @@ -71,7 +71,7 @@ let configContext: Readonly = { ARM_AUTH_AREA: "https://management.azure.com/", ARM_ENDPOINT: "https://management.azure.com/", ARM_API_VERSION: "2016-06-01", - GRAPH_ENDPOINT: "https://graph.windows.net", + GRAPH_ENDPOINT: "https://graph.microsoft.com", GRAPH_API_VERSION: "1.6", ARCADIA_ENDPOINT: "https://workspaceartifacts.projectarcadia.net", ARCADIA_LIVY_ENDPOINT_DNS_ZONE: "dev.azuresynapse.net", diff --git a/src/Utils/EndpointValidation.ts b/src/Utils/EndpointValidation.ts index d39c5892d..cd1c54a14 100644 --- a/src/Utils/EndpointValidation.ts +++ b/src/Utils/EndpointValidation.ts @@ -78,7 +78,7 @@ export const allowedEmulatorEndpoints: ReadonlyArray = ["https://localho export const allowedMongoBackendEndpoints: ReadonlyArray = ["https://localhost:1234"]; -export const allowedGraphEndpoints: ReadonlyArray = ["https://graph.windows.net"]; +export const allowedGraphEndpoints: ReadonlyArray = ["https://graph.microsoft.com"]; export const allowedArcadiaEndpoints: ReadonlyArray = ["https://workspaceartifacts.projectarcadia.net"];