Hi,
I have a team site with some lists like https://mycompany.sharepoint.com/ and created a developer site https://mycompany.sharepoint.com/sites/develop_apps/ Now i want to create an provider hosted app that accesses a list from the team site.
I understand how to access a list in the developer site with C# and the tokenhelper class but i can't get results from calls to the teamsite and Always get a 401 error.
My .net knowlege is far better then my javascript and i would like to accomplish this using C#.
Can anyone guide me thougout this process and set me on the right direction.