How App Portal Responds to Failure Statuses Received from System Center Configuration Manager

In System Center Configuration Manager, if the deployment of an application fails, it continues to attempt to install the application. In previous releases, App Portal would not continue to monitor a failed application after the first status report from System Center Configuration Manager. Therefore, on occasion, App Portal would report a failed status even though System Center Configuration Manager eventually reported success.

Changes have been implemented into App Portal 2015 R2 Hotfix v10.0.1 to account for the above issue. In App Portal 2015 R2 Hotfix v10.0.1 and later, there are three unique scenarios where App Portal considers failed statuses from System Center Configuration Manager:

Scenario #1: Received New Failed Status and Specified Time Threshold Has Passed Since System Center Configuration Manager’s Last Evaluation Date/Time
Scenario #2: Did Not Receive New Status, Current Status is Failed, and “Automatically Fail if Final Status is Not Received” Threshold Has Passed
Scenario #3: No Status Received, and “Automatically Fail if No Status is Received” Threshold Has Passed
No Scenarios Met

Scenario #1: Received New Failed Status and Specified Time Threshold Has Passed Since System Center Configuration Manager’s Last Evaluation Date/Time

In Scenario #1, App Portal has received a new status from System Center Configuration Manager, it is a failed status, and the specified time limit has passed since System Center Configuration Manager’s last evaluation date/time. You specify this time limit in the Monitor threshold for failed deployments to prevent false flags field on the Site Management > Settings > Timers tab.

To set the Monitor threshold for failed deployments to prevent false flags threshold value, perform the following steps.

To set the “Monitor threshold for failed deployments to prevent false flags” value:

1. On the Admin tab, open Site Management.
2. Open the Settings > Timers tab.
3. Set Monitor threshold for failed deployments to prevent false flags to the desired hours threshold.
4. Click Save.

If this scenario is met, App Portal will do the following:

Turn off monitoring.
Invoke external actions (if any).
Flag to send failure emails (if configured to do so).

Scenario #2: Did Not Receive New Status, Current Status is Failed, and “Automatically Fail if Final Status is Not Received” Threshold Has Passed

In Scenario #2, App Portal has not received any new status from System Center Configuration Manager, the current status is failed, and the Automatically fail if final status is not received after n hours threshold has passed.

The Automatically fail if final status is not received after n hours value is set on the catalog item’s Catalog Item Properties dialog box. If this value is not set (which by default it is not), then App Portal falls back to the global setting of 7 days.

To set the Automatically fail if final status is not received after n hours threshold value for the catalog item, perform the following steps.

To set the “Automatically fail if final status is not received after n hours” value:

1. On the Admin tab, open Catalog Management.
2. Open the Deployment >Global tab of the Catalog Item Properties dialog box for the desired catalog item.
3. Set Automatically fail if final status is not received after n hours to the desired hours threshold.
4. Click Save.

If this scenario is met, App Portal will do the following:

Turn off monitoring.
Invoke external actions (if any).
Flag to send failure emails (if configured to do so).

Scenario #3: No Status Received, and “Automatically Fail if No Status is Received” Threshold Has Passed

In Scenario #3, App Portal has not received any status whatsoever from System Center Configuration Manager, and the Automatically fail if no status is received after n hours threshold has passed.

The Automatically fail if no status is received after n hours value is set on the catalog item’s Catalog Item Properties dialog box. If this value is not set (which by default it is not), then App Portal falls back to the global setting of 7 days.

To set the Automatically fail if no status is received after n hours threshold value for the catalog item, perform the following steps.

To set the “Automatically fail if no status if received after n hours” value:

1. On the Admin tab, open Catalog Management.
2. Open the Deployment >Global tab of the Catalog Item Properties dialog box for the desired catalog item.
3. Set Automatically fail if no status is received after n hours to the desired hours threshold.
4. Click Save.

If this scenario is met, App Portal will do the following:

Turn off monitoring.
Invoke external actions (if any).
Flag to send failure emails (if configured to do so).

No Scenarios Met

If none of the three above failure scenarios are met, then App Portal will continue to monitor System Center Configuration Manager periodically to see if there are any status changes related to the deployment.