How to generate new access token using Sharepoint Client Id, Client Credential ?

%3CLINGO-SUB%20id%3D%22lingo-sub-1030230%22%20slang%3D%22en-US%22%3EHow%20to%20generate%20new%20access%20token%20using%20Sharepoint%20Client%20Id%2C%20Client%20Credential%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1030230%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20upload%20a%20file%20to%20office%20365%20Sharepoint%20using%20Java%20and%20HttpURLConnection.%20I%20have%20generated%20Client%20Id%20and%20Client%20Secret%20for%20access%20bearer%20token%20generation.%20Please%20let%20me%20know%20how%20will%20i%20generate%20Access%20Bearer%20Token%20using%20Client%20Id%20and%20Client%20Secret%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1030230%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I want to upload a file to office 365 Sharepoint using Java and HttpURLConnection. I have generated Client Id and Client Secret for access bearer token generation. Please let me know how will i generate Access Bearer Token using Client Id and Client Secret ?

0 Replies