I followed the Dell Chat solution and fixed it. The Enable user-facing camera option in BIOS was unchecked. After I checked it, the front camera worked.   
When I turn on the camera by pressing the P2 button, I do not see the front facing option. It shows only the rear camera. Tried updating the latest drivers. What else can be done here. Tried to uninstall and reinstall camera from windows store.
front camera not working