title: Azure Recovery Services agent on Server Core 2016
body: <p>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:
  <a href="https://i.stack.imgur.com/CixAu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CixAu.png" alt="enter image description here"></a> </p>
  
  <p>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:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>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.</p>
  
  <p>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?</p>