Please feel free to provide feedback or file bugs here.

DPM's Get-DPMCloudSubscription does not work when run inside a scheduled task.

If you run a regular DPM report PowerShell script and wish to include the total used space in Azure, the Get-DPMCloudSubscription command fails.

If you run the script manually you are given the information you need, but the scheduled task reports always show 0 space used. For instance here is the command and result in the ISE:

SubscriptionName : Azure Backup
UsedSpace : 272188669250
TotalSpace : 322122547200
StorageQueriedTime : 09/01/2018 00:24:02
RegistrationStatus : AgentInstalledAndRegistered

but the same part of the report when in a scheduled task shows:
SubscriptionName : Azure Backup
UsedSpace : 0
TotalSpace : 322122547200
StorageQueriedTime : 09/01/2018 08:12:34
RegistrationStatus : AgentInstalledAndUnknown

I have confirmed that this happens on multiple sites with multiple versions of DPM 2012, R2, 2016 and on various server operating systems. The tasks are set to run as the same user and with the highest privileges. This is not a "double hop" problem as it fails with local servers as well.

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Kieran Walsh shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base