These cameras can stop working due to bugs and hardware issues.
Below are all the fixes we recommend.
The Microsoft Surface Pro has a front-facing and rear-facing camera.

This can cause confusion if the wrong camera is selected.
Check for conflicts between apps trying to reach the camera.
Check your privacy prefs.

Search Windows forCamera privacy settingsand launch the search result.
Verify that the toggle for camera access is on.
You’ll also see a list of apps.

Check that access is enabled for the app you want to use with the camera.
start your Surface Pro.
This will clear our most software conflicts.

Check your third-party antivirus software.
If you have one installed, examine its options to confirm the camera isn’t blocked.
Alternatively, try temporarily turning off the antivirus app to see if the problem is fixed.

Open equipment Managerand check theSystem devicescategory for arrows and other symbols that could indicate a problem.
You canenable a equipment in equipment Managerby right-clicking it and choosingEnable equipment.
Turn off and re-turn on the rig.
If the camera was not turned off in machine Manager, right-clickMicrosoft Camera FrontorMicrosoft Camera Rearand chooseDisable machine.
Then, right-poke the camera again and selectEnable machine.
This effectively reboots the camera and may clear up any lingering conflicts.
Uninstall and reinstall the gadget.
Still in machine Manager, right-clickMicrosoft Camera FrontorMicrosoft Camera Rearand then selectUninstall machine.
To do that, shut down your Surface Pro, then hold down theVolume Upbutton and press thePowerbutton.
Continue holding the Volume Up button until the Surface UEFI appears.
SelectDevicesfrom the menu on the left.
A list of system devices will appear with toggles to enable or turn off each equipment.
Check theFront CameraandRear Cameraare enabled.
If not, use the toggles to enable them.
it’s possible for you to verify this by attaching an external USB webcam to see if it functions.
You shouldcontact Microsoft supportfor repair or replacement.
TapChange Camerato change from the rear to the front camera.
TapChange Cameraagain to go back.
Totake a screenshot on a Surface Pro, press and hold thePowerandVolume Upbuttons.
On older Surface Pros, press and hold theWindowsbutton and theVolume Downbutton.
Alternatively, use the Snip & Sketch app by opening the Windows 10 Action Center and selectingScreen snip.
Open your AirPods case and press the button on the back until the light flashes.
Select your AirPods from the Surface Pro screen and clickDone.