Skip to content

Enable Microbuild Plugin Preview Feature#54566

Closed
nagilson wants to merge 1 commit into
dotnet:release/dnupfrom
nagilson:nagilson-fix-dotnetup-microbuild-update
Closed

Enable Microbuild Plugin Preview Feature#54566
nagilson wants to merge 1 commit into
dotnet:release/dnupfrom
nagilson:nagilson-fix-dotnetup-microbuild-update

Conversation

@nagilson

@nagilson nagilson commented Jun 2, 2026

Copy link
Copy Markdown
Member

… Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 6/2/2026 6:38 PM 6.5.0 Importing Az.KeyVault ##[error]This module requires Az.Accounts version 5.5.0. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session before importing this module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for troubleshooting information. ##[error]The module to process 'Az.KeyVault.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'D:\a\_work\_temp\MicroBuild\MicroBuild\Plugins\Az.KeyVault\6.5.0\Az.KeyVault.psd1' was not processed because no valid module was found in any module directory. Successfully imported Az.KeyVault endpointObject.Auth.Parameters.TenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47 endpointObject.Data.Environment: AzureCloud endpointObject.Auth.Parameters.ServicePrincipalId: *** endpointObject.Data.SubscriptionId: bd62906c-0a81-43c3-a   Install MicroBuild plugin is failing.   Command          # Suppress breaking-change warnings from Az.KeyVault (Get-AzKeyVaultSecret by name is unaffected).         # See https://aka.ms/azps-changewarnings         Update-AzConfig -DisplayBreakingChangeWarning $false -AppliesTo Az.KeyVault         Get-AzKeyVaultSecret -VaultName $vaultName -Name $certName         Update-AzConfig -DisplayBreakingChangeWarning $true -AppliesTo Az.KeyVault      failed with exception: Exception calling "Invoke" with "0" argument(s): "The term 'Get-AzKeyVaultSecret' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." Retrying command Command          # Suppress breaking-change warnings from Az.KeyVault (Get-AzKeyVaultSecret by name is unaffected).         # See https://aka.ms/azps-changewarnings         Update-AzConfig -DisplayBreakingChangeWarning $false -AppliesTo Az.KeyVault         Get-AzKeyVaultSecret -VaultName $vaultName -Name $certName         Update-AzConfig -DisplayBreakingChangeWarning $true -AppliesTo Az.KeyVault      failed with exception: Exception calling "Invoke" with "0" argument(s): "The term 'Get-AzKeyVaultSecret' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." ##[error]Exception calling "Invoke" with "0" argument(s): "The term 'Get-AzKeyVaultSecret' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." Async Command Start: Add Build Tag Build '2990362' has following tags now: real signed, 1ES.PT.Official, 1ES.PT.Build, PME Signed Async Command End: Add Build Tag Finishing: Install MicroBuild plugin Configuring the Plugins folder: D:\a\_work\_temp\MicroBuild\MicroBuild\Plugins "D:\a\_work\_tasks\MicroBuildSigningPlugin_30666190-6959-11e5-9f96-f56098202fef\4.101.294\nuget\nuget.exe" sources -ConfigFile "D:\a\_work\_temp\MicroBuild\MicroBuild\Plugins\nuget.config" ##[warning]Please use latest plugin version, version 5.4.0 used instead. "D:\a\_work\_tasks\MicroBuildSigningPlugin_30666190-6959-11e5-9f96-f56098202fef\4.101.294\nuget\nuget.exe" install Az.Accounts -ConfigFile "D:\a\_work\_temp\MicroBuild\MicroBuild\Plugins\nuget.config" -Source "https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json" -Version 5.4.0 -NonInteractive -NoCache -DirectDownload -OutputDirectory "D:\a\_work\_temp\MicroBuild\MicroBuild\Plugins" NoCache is deprecated and has been renamed to NoHttpCache. Please use NoHttpCache instead. Feeds used:   https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
@nagilson

nagilson commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

Looks like this is an infra wide issue and not something we are doing as its impacting many repos. The attempted fix did not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant