However, the same problem that plagues the Mac App Store, UWP code is sandboxed in weird ways that make it hard to just recompile your existing IP into the new environment. Plus Microsoft developer relations pushed C# as the defacto way to write apps targeting the platform, something that doesn't scale when you also need to support Android and iOS.
As far as mobile's concerned, it was continuously mismanaged, release after release.
* First they paid Seattle contractors to rewrite top-tier iOS apps for the original Silverlight C# version of WP and then dumped the resulting code onto the companies hoping they would continue the effort. I took a look at that code at the startup I was at at the time, and it was a mess, full of proprietary dlls that we couldn't even inspect.
* Second, they moved the kernel to Windows NT-lite from CE, meaning all the early adopters essentially got fucked over and it crushed early momentum.
* Third, Microsoft would go a year before announcing relatively inconsequential updates. (Oh that's nice that the same software will run on 512mb devices, is that what you spent the entire year working on?)
* Fourth, updates never seemed to hit devices, and the only way to get updates was with actual firmware. Android solved this problem by moving most of the interesting bits to the Play store.
Ultimately for a platform in 3rd place, Microsoft never gave the impression they were busting their butts to catch up. Everything seemed to move at a glacial pace and felt like run by a tiny greenfield team.