I have been using ARS Vaults for a couple months with no issues with MARS / MSOnlineBackup PowerShell.
This week I created a new ARS Vault and was unable to insert my passphrase into the MARS Agent (same version of agent I've been using). I get this error referring me to a cmdlet I can't find reference to anywhere else.
"Set-OBMachineSetting : Passcode is not set. Use Get-AzureBackupPasscodeforCriticalOperations cmdlet to get Passcode.
At C:\src\AzureBackupPoC\azure-backup-poc.ps1:255 char:74
+ ... String $ProvidedPassphrase -AsPlainText -Force | Set-OBMachineSetting
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-OBMachineSetting], DlsException
+ FullyQualifiedErrorId : SetPasscodeMissing,Microsoft.Internal.CloudBackup.Commands.SetCBMachineSettingCommand
[DBG]: PS C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules>> "
I had not noticed security features until this week. They are being enabled by default on all newly created vaults and I can't turn them off. Immediately upon going into the Properties, Security blade the toggle switches to enabled, before I even touch the
MFA dropbox and I can change it, even after choosing MFA = NO in the drop down. The behavior is the same whether I create the vault with the portal or powershell. I need to be able to turn off security, at until I figure out how to get the passcode from powershell.
The command called out in the error message doesn't seem to exist for me. So I'm stuck.
If you can tell me 1) How do not have security auto-enabled 2) How to disable it from the portal or from powershell 3) Where I can find updated PowerShell modules that understand the new ARS Vault security features I will be grateful.
Thanks!!