Skip to content

feat(auth): add DeviceCodeCredential support via AZURE_TOKEN_CREDENTIALS

cf93ecb
Select commit
Loading
Failed to load commit list.
Draft

add DeviceCodeCredential support for CLI Usage. #1908

feat(auth): add DeviceCodeCredential support via AZURE_TOKEN_CREDENTIALS
cf93ecb
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mcp - pullrequest failed Mar 3, 2026 in 27m 1s

Build #20260303.7 had test failures

Details

Tests

  • Failed: 32 (0.23%)
  • Passed: 14,057 (99.27%)
  • Other: 71 (0.50%)
  • Total: 14,160
Code coverage

  • 1473 of 24314 line covered (6.06%)

Annotations

Check failure on line 12 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Build log #L12

OpenTelemetry packages not available – Geneva logging disabled.

Check failure on line 1124 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Build log #L1124

PowerShell exited with code '1'.

Check failure on line 531 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Build log #L531

PowerShell exited with code '1'.

Check failure on line 12 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Build log #L12

OpenTelemetry packages not available – Geneva logging disabled.

Check failure on line 1 in Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_list_storage_tables_with_tenant_id

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_list_storage_tables_with_tenant_id

System.InvalidOperationException : Test proxy restore failed with exit code 1. StdOut: Running proxy version is Azure.Sdk.Tools.TestProxy 20251209.1
git --version
git checkout .
Git ran into an unrecoverable error. Test-Proxy is exiting. The error output from git is: 
error: pathspec '.' did not match any file(s) known to git

. StdErr: 
Raw output
   at Azure.Mcp.Tests.Client.TestProxy.RestoreAssetsAsync(String proxyExe, String assetsJsonPath, String repositoryRoot) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 193
   at Azure.Mcp.Tests.Client.TestProxy.EnsureProxyRecordings(String proxyExe, String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 101
   at Azure.Mcp.Tests.Client.TestProxy.Start(String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 334
   at Azure.Mcp.Tests.Client.Helpers.TestProxyFixture.StartProxyAsync(String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/Helpers/TestProxyFixture.cs:line 28
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.StartProxyAsync(TestProxyFixture fixture) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 279
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.InitializeAsync() in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 186

Check failure on line 1 in Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_list_storage_tables_with_tenant_name

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_list_storage_tables_with_tenant_name

System.InvalidOperationException : Test proxy restore failed with exit code 1. StdOut: Running proxy version is Azure.Sdk.Tools.TestProxy 20251209.1
git --version
git checkout .
Git ran into an unrecoverable error. Test-Proxy is exiting. The error output from git is: 
error: pathspec '.' did not match any file(s) known to git

. StdErr: 
Raw output
   at Azure.Mcp.Tests.Client.TestProxy.RestoreAssetsAsync(String proxyExe, String assetsJsonPath, String repositoryRoot) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 193
   at Azure.Mcp.Tests.Client.TestProxy.EnsureProxyRecordings(String proxyExe, String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 101
   at Azure.Mcp.Tests.Client.TestProxy.Start(String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 334
   at Azure.Mcp.Tests.Client.Helpers.TestProxyFixture.StartProxyAsync(String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/Helpers/TestProxyFixture.cs:line 28
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.StartProxyAsync(TestProxyFixture fixture) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 279
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.InitializeAsync() in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 186

Check failure on line 1 in Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_upload_blob

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_upload_blob

System.InvalidOperationException : Test proxy restore failed with exit code 1. StdOut: Running proxy version is Azure.Sdk.Tools.TestProxy 20251209.1
git --version
git checkout .
Git ran into an unrecoverable error. Test-Proxy is exiting. The error output from git is: 
error: pathspec '.' did not match any file(s) known to git

. StdErr: 
Raw output
   at Azure.Mcp.Tests.Client.TestProxy.RestoreAssetsAsync(String proxyExe, String assetsJsonPath, String repositoryRoot) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 193
   at Azure.Mcp.Tests.Client.TestProxy.EnsureProxyRecordings(String proxyExe, String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 101
   at Azure.Mcp.Tests.Client.TestProxy.Start(String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 334
   at Azure.Mcp.Tests.Client.Helpers.TestProxyFixture.StartProxyAsync(String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/Helpers/TestProxyFixture.cs:line 28
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.StartProxyAsync(TestProxyFixture fixture) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 279
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.InitializeAsync() in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 186

Check failure on line 1 in Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_Return400_WithInvalidInput_ForAccountCreate(firstArg: "--account-name", remainingArgs: ["testacct", "--subscription", "sub123"])

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Azure.Mcp.Tools.Storage.LiveTests.StorageCommandTests.Should_Return400_WithInvalidInput_ForAccountCreate(firstArg: "--account-name", remainingArgs: ["testacct", "--subscription", "sub123"])

System.InvalidOperationException : Test proxy restore failed with exit code 1. StdOut: Running proxy version is Azure.Sdk.Tools.TestProxy 20251209.1
git --version
git checkout .
Git ran into an unrecoverable error. Test-Proxy is exiting. The error output from git is: 
error: pathspec '.' did not match any file(s) known to git

. StdErr: 
Raw output
   at Azure.Mcp.Tests.Client.TestProxy.RestoreAssetsAsync(String proxyExe, String assetsJsonPath, String repositoryRoot) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 193
   at Azure.Mcp.Tests.Client.TestProxy.EnsureProxyRecordings(String proxyExe, String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 101
   at Azure.Mcp.Tests.Client.TestProxy.Start(String repositoryRoot, String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/TestProxy.cs:line 334
   at Azure.Mcp.Tests.Client.Helpers.TestProxyFixture.StartProxyAsync(String assetsJsonPath) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/Helpers/TestProxyFixture.cs:line 28
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.StartProxyAsync(TestProxyFixture fixture) in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 279
   at Azure.Mcp.Tests.Client.RecordedCommandTestsBase.InitializeAsync() in /mnt/vss/_work/1/s/core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs:line 186