Skip to main content
7 events
when toggle format what by license comment
Sep 12, 2018 at 18:05 history edited Steve
Added ".net" tag.
Sep 11, 2018 at 15:42 vote accept Steve
Sep 10, 2018 at 21:40 answer added Sergei Sergeev timeline score: 4
Sep 10, 2018 at 21:12 answer added sssreddy timeline score: 1
Sep 10, 2018 at 20:53 comment added Steve I'm using the Azure ADAL library to obtain access tokens and the SharePoint Online CSOM library to execute queries. I subscribe to the ClientContext's ExecutingWebRequest event where I assign the access token in the WebRequest's headers. This works great...no problems. The problem I run into is when I try to access a SharePoint document ID URL by directly using a WebRequest. It works if I authenticate by obtaining a SAML token and getting the authentication cookies, but not with an access token.
Sep 10, 2018 at 20:38 comment added sssreddy It is not clear from your question if you using REST api or SPO c# sdk. You mention bearer token so assuming you are using oauth. Can you please clarify which sdk are you trying to use and how exactly are you trying to authenticate.
Sep 10, 2018 at 20:31 history asked Steve CC BY-SA 4.0