Research mode enables third party applications to access the depth data stream on the HoloLens.
Sign in to Device Portal
your-ip-address/devicepair.htmEnable Research Mode

Allow access to sensor streams. Then click on Power → Restart to restart your headset and allow the changes the come in to effect.