If you remove the built-in apps during a build and capture Sysprep will fail. The workaround is pretty simple. You just need to kill access to the internet while the image is being built.

If Sysprep is failing to uninstall built-in Store apps in your Windows 10 visit TechNet to get ideas on how to resolve this issue.