GET /api/message/getActiveJobs

Replaced by

Hi Colin,

We previously used the /api/message/getActiveJobs API call in a PowerShell script to determine if there are any jobs that may be running that would prevent us from updating an application.
However, with the replacement API that you provided it provides all pending tasks in the tenant and according to documentation there are no parameters that we can put in place to specifically look for those jobs that may prevent the application update.

Do you perhaps have any suggestions on how we can address this?

Welcome to the Developer Community Ismaeel.

Unfortunately, I don’t have a good solution for this. Given the replacement APIs we have today, you would need to paginate all of the pending tasks to look for any that might be blocking your app update.