OnlineBackupProvider.exe fails due to an unhandled exception

Mark Davies 21 Reputation points
2020-08-10T15:13:57.097+00:00

Windosw Server 2012 R2 Essentials. The Microsoft Azure Backup Integration Service is not running. When I start the service, it fails after a few seconds with:

Application: OnlineBackupProvider.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Management.Automation.RuntimeException
at System.Management.Automation.Runspaces.FormatAndTypeDataHelper.ThrowExceptionOnError(System.String, System.Collections.ObjectModel.Collection1<System.String>, System.Collections.ObjectModel.Collection1<System.Management.Automation.Runspaces.PSSnapInTypeAndFormatErrors>, System.Management.Automation.Runspaces.RunspaceConfigurationCategory)
at System.Management.Automation.Runspaces.RunspaceConfigurationEntryCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Update(Boolean)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleManifest(System.String, System.Management.Automation.ExternalScriptInfo, System.Collections.Hashtable, System.Collections.Hashtable, ManifestProcessingFlags, System.Version, System.Version, ImportModuleOptions ByRef, Boolean ByRef)

Exception Info: System.Management.Automation.CmdletInvocationException
at System.Management.Automation.Runspaces.PipelineBase.Invoke(System.Collections.IEnumerable)
at Microsoft.WindowsServerSolutions.Addin.Common.PowerShell.PSRuntime.ExecuteCommandPrivate(System.String, Microsoft.WindowsServerSolutions.Addin.Common.PowerShell.PSParameterList)
at Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.OnlineBackupPSRuntime+<>c__DisplayClass1.<.ctor>b__0()
at Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.OnlineBackupPSRuntime.ExecutePSCmd(System.Action, System.String)
at Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.OnlineBackupHelper..ctor(Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.IOnlineBackupAdviceSink)
at Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.OnlineBackupProviderCore.InitializeProvider()
at Microsoft.WindowsServerSolutions.DataProtection.OnlineBackup.OnlineBackupProviderMain.CreateProviderHosts()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase._OpenHosts()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase._OpenHostsAsync()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

and

Faulting application name: OnlineBackupProvider.exe, version: 6.2.9805.10, time stamp: 0x558de6a7
Faulting module name: KERNELBASE.dll, version: 6.3.9600.19724, time stamp: 0x5ec5262a
Exception code: 0xe0434352
Fault offset: 0x0000000000007afc
Faulting process id: 0x3abc
Faulting application start time: 0x01d66f25c7ac0c5a
Faulting application path: C:\Program Files\Windows Server\Bin\OnlineBackupProvider.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 06e3c85e-db19-11ea-8184-901b0e6e6769
Faulting package full name:
Faulting package-relative application ID:

I have tried uninstalling & reinstalling the MARS Agent, but this has not helped.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,154 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 39,886 Reputation points Microsoft Employee
    2020-08-24T10:26:30.043+00:00

    TBS that resolved the issue:

    Deleted Azure Backup add-in in the dashboard, which deleted MARS, as well, reinstalled MARS Agent and re-registered the server to the vault and the OnlineBackupProvider.exe was gone.

    • Manually ran the scheduled task on the Task Scheduler using PS, but it failed due to insufficient privileges. The powershell execution policy was set to AllSigned, preventing the schedule task run; switching to RemoteSigned resolved the issue.
    • Backups jobs ran fine, the scheduled backup tests worked.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 39,886 Reputation points Microsoft Employee
    2020-08-10T19:19:07.16+00:00

    @Mark Davies Sorry for the painful experience.

    The Windows Azure Backup Agent logs the status of backups and their success or failure to a separate event log in Applications and Services LogsCloudBackupOperational. I believe that an unexpected or corrupt event log entry is preventing the integration service from reading this event log properly.

    1. Stop Windows Azure Backup Integration Module Service,
    2. Clear event log under Applications and Services Logs\CloudBackup\Operational,
    3. Start Windows Azure Backup Integration Module Service.

    This should help resolve this issue.

    A similar query as reference: https://social.technet.microsoft.com/Forums/en-US/eb718279-3da9-4544-9e0f-50b0ba440ef5/windows-azure-backup-integration-service-fails?forum=winserveressentials

    ------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


  2. Mark Davies 21 Reputation points
    2020-08-12T15:42:04.107+00:00

    Apparently I need to pay for a support plan before I can open a technical support request.