Forum Discussion

Unit2777's avatar
Unit2777
Brass Contributor
Aug 17, 2021
Solved

Issues with changing MARS Backup agent policy

Hi all, We are using MARS backup agent to backup our user machines to an Azure Recovery Services Vault, and use PowerShell to apply the settings and backup policy, primarily following https://docs.m...
  • Unit2777's avatar
    Aug 18, 2021

     

    Posted https://www.reddit.com/r/AZURE/comments/p67do4/issues_with_changing_mars_backup_agent_policy/? and received an answer to my question. Posting here in case anyone else comes across the same problem.

     

    Essentially, Remove-OBPolicy will only pause the existing policy unless the -DeleteBackup switch is used https://docs.microsoft.com/en-us/powershell/module/msonlinebackup/remove-obpolicy?view=msonlinebackup-ps#description

    In my case, I don't think this will work trying to manage the policies for Win10 endpoints in Endpoint Manager due to the -DeleteBackup switch requiring the Azure vault security PIN which is only valid for 5 minutes at a time. 

     

    However, I've not found out how to modify an existing policy without removing the previous one.

Resources