diff --git a/auth/package-lock.json b/auth/package-lock.json index 125cac9f2a..1f9e32b17f 100644 --- a/auth/package-lock.json +++ b/auth/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microsoft/vscode-azext-azureauth", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@microsoft/vscode-azext-azureauth", - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "@azure/arm-resources-subscriptions": "^2.1.0", diff --git a/auth/package.json b/auth/package.json index aaea02e4cf..472c478dbb 100644 --- a/auth/package.json +++ b/auth/package.json @@ -1,7 +1,7 @@ { "name": "@microsoft/vscode-azext-azureauth", "author": "Microsoft Corporation", - "version": "2.0.0", + "version": "2.1.0", "description": "Azure authentication helpers for Visual Studio Code", "tags": [ "azure", diff --git a/auth/src/getSessionFromVSCode.ts b/auth/src/getSessionFromVSCode.ts index 0f69d22fee..1a24ba8649 100644 --- a/auth/src/getSessionFromVSCode.ts +++ b/auth/src/getSessionFromVSCode.ts @@ -12,7 +12,7 @@ function ensureEndingSlash(value: string): string { function getResourceScopes(scopes?: string | string[]): string[] { if (scopes === undefined || scopes === "" || scopes.length === 0) { - scopes = ensureEndingSlash(getConfiguredAzureEnv().resourceManagerEndpointUrl); + scopes = ensureEndingSlash(getConfiguredAzureEnv().managementEndpointUrl); } const arrScopes = (Array.isArray(scopes) ? scopes : [scopes]) .map((scope) => {