Azure Local 23H2 - Add-Server functionality not working
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