If the Windows Camera app shows an image, that’s good, and means the camera is working properly.
Have you followed the guidance here?