Hello aghalani,
Thanks for posting your concern here in Microsoft Community. We're sorry to learn that you're having a problem with the camera on your device.
In this case, please run Surface Diagnostic Toolkit and check for Windows Update. Ensure all pending updates are installed. Manually install drivers and firmware for Surface:
Check what is the current OS Build of your Windows version by typing winveron the search barnear the Windows logo.
Go to Download driver and firmware for Surface**,**choose (your Surface model) then click Download.
Choose the .msi file closest to your current OS Build and click Next.
After downloading, run and install the .msi then Restart.
But if issue still persists, kindly contact our support via Contact Us Microsoft Support to seek exchange options for your device and for further assistance. You can also contact them via phone, see Global Support Phone Numbers. For detailed instructions on how to contact our support, click here.
Best regards,
StevenK