Sharepoint 2013 service broker source code (like to know how oauth token passed in clientcontext)

  • 12 July 2017
  • 1 reply

Hello friends 


we would like to write custom service broker or endpoint assembly to perform bulk operation with sharepoint online 

we need check how oAuth token  used in sharepoint service broker to create sharepoint online clientcontext object to perform sharepoint online  transactions

any source code  which you are using oAuth token in k2 broker or endpoint assembly will be helpful





sachin walunj 

1 reply

Badge +12

Hi Sachin, 


Thank you for logging this community post. You can check the following document to see how OAuth is used within K2:




You can check out our developers reference below to see what code you can use here :


Please do let me know if this helps


Kind regards,