Azure Recovery Services agent on Server Core 2016

0

I'm attempting to install the Azure Recovery Services Agent on a 2016 Standard Server Core machine. It installs fine, but when I try to browse to the vault credential file, I get an exception that appears to be related to visual themes not existing since it's server core: enter image description here

I've also tried setting up Azure Powershell to do backups through there, but when I try to login I get an error related to IEFrame.dll:

Login-AzureRmAccount : The type initializer for 'Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.WindowsFormsWebAuthenticationDialogBase' threw an exception.: Unable to load DLL 'IEFRAME.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

When I run Login-AzureRmAccount on a Desktop Experience server, it pops up a window to login, which apparently uses IE. I've also tried Import-AzurePublishSettingsFile, which works, but it still needs me to run Login-AzureRmAccount after running that.

Does anyone know of a command-line way to set the vault credentials for the Recovery Services agent? Or how to login in Powershell without IE?

windows
azure
backup
windows-server-2016
asked on Stack Overflow Sep 11, 2017 by Drew • edited Sep 30, 2017 by Zack

1 Answer

0

Download the latest PowerShell release (minimum version required is: 1.0.0) and then Verify you have Windows PowerShell version 3.0 or 4.0. To find the version of Windows PowerShell, type this command at a Windows PowerShell command prompt.

$PSVersionTable

Verify that the value of PSVersion is 3.0 or 4.0. If not, see Windows Management Framework 3.0 or Windows Management Framework 4.0.

And then you can install Microsoft Azure Recovery Services Agent through PowerShell command lets on windows server 2016.

answered on Stack Overflow Sep 11, 2017 by Vikranth S

User contributions licensed under CC BY-SA 3.0