SCCM Application installations fail (almost) instantly with exit code 0x0(0)
This one gets me not-so-often enough that every time it does occur I’ve forgotten what [one of] the causes is. And the exit code and behaviour is so unhelpful it’s almost impossible to troubleshoot without some hints.
It’s probably worth mentioning there’s many reasons this type of behaviour/error can occur but this post will cover just one reason which I haven’t found written about elsewhere.
Scenario
A user clicks the “Install” button on an Application within Software Centre and within a few seconds the installation fails. Expanding the failure message in Software Centre the reason is simply “0x0(0)” — ie: a success code???
Troubleshooting
Reviewing the SCCLient log on the device shows the user clicking install and the subsequent failure:

Opening CcmMessaging.log shows the issue:

The cause of the issue is the line in yellow: “Request to <MP> cannot be fulfilled since use of metered network is not allowed.”
This user was connected to the internet via cellular network and our Client Settings prevented the use of metered networks.