Azure Local 23H2 - Add-Server functionality not working

Vaughn DeFouw 31 Reputation points
2025-02-14T18:30:17.7+00:00

We're trying to add a server back into a cluster that was failed and when we try to run the "Add-Server" command specified here: https://learn.microsoft.com/en-us/azure/azure-local/manage/add-server?view=azloc-24112

It gives this error:

VERBOSE: Looking up shared vhd product drive letter. WARNING: Unable to find volume with label Deployment VERBOSE: Suppressed Warning Unknown category for 'NuGet'::'GetDynamicOptions': 'Provider' The 'Add-Server' command was found in the module 'ScaleNodeOperations', but the module could not be loaded. For more information, run 'Import-Module ScaleNodeOperations'. + CategoryInfo : ObjectNotFound: (Add-Server:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

This is when attached to the cluster or from an individual node using the LCM account. ScaleNodeOperations gives this error:

Import-Module : The specified module 'ScaleNodeOperations' was not loaded because no valid module file was found in any module directory. + CategoryInfo : ResourceUnavailable: (ScaleNodeOperations:String) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Azure Local
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.