diff --git a/src/utils/httpElementFactory.ts b/src/utils/httpElementFactory.ts index 7e6412c6..0c49a895 100644 --- a/src/utils/httpElementFactory.ts +++ b/src/utils/httpElementFactory.ts @@ -136,6 +136,12 @@ export class HttpElementFactory { null, Constants.AzureActiveDirectoryDescription, new SnippetString(`{{$\${name:${Constants.AzureActiveDirectoryVariableName.slice(1)}}}}`))); + originalElements.push(new HttpElement( + Constants.AzureActiveDirectoryV2TokenVariableName, + ElementType.SystemVariable, + null, + Constants.AzureActiveDirectoryV2TokenDescription, + new SnippetString(`{{$\${name:${Constants.AzureActiveDirectoryV2TokenVariableName.slice(1)}}}}`))); // add environment custom variables const environmentVariables = await EnvironmentVariableProvider.Instance.getAll();