From PC Mag: Microsoft issued a temporary fix for the camera problems experienced by Surface Pro X owners, but it's far from perfect.
Cameras on the Microsoft Surface Pro X stopped working on May 23 due to Windows error "0xA00F4271
In a support note for the fix, Microsoft explains that the temporary workaround "might disable some features of the camera or lower the image quality but should allow the camera to function until the issue is resolved by the device manufacturer with an updated camera driver." So while your camera may work again, don't expect the same experience as before it stopped working.
The Camera app is failing to load on devices using the Qualcomm 8cx Gen 1, Qualcomm 8cx Gen 2, Microsoft SQ1, and Microsoft SQ2 processors. The temporary fix requires running a registry command from the Command Prompt as an administrator followed by restarting your Windows device (see the support note above for step-by-step instructions).
View: Full Article