Lots of things are blocked by default for UWP. You have to enable the capabilities needed by your app in "Package.appxmanifest"
Some can be altered using the Capabilities tab of this file in visual mode, but others require you to edit it in code mode (right click > view code)
Full list of capabilities
https://msdn.microsoft.com/en-gb/windows/uwp/packaging/app-capability-declarations
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.