SharePoint is a web-based collaborative platform that integrates with Microsoft Office. It was launched in 2001 and is primarily used as a document management and storage system, but the product is highly configurable and usage varies substantially among organizations.
Organizations use Microsoft SharePoint to create websites. You can use it as a secure place to store, organize, share, and access information from any device. All you need is a web browser, such as Microsoft Edge, Internet Explorer, Chrome, or Firefox.
Sign in to SharePoint
- Sign in to your work or school account at office.com/signin.
- Select the SharePoint tile on the on the Microsoft 365 home page, or in the app launcher.
The crux is automatic operations on Sharepoint as the title suggests performing CRUD on sharepoint as follows
- Auto Upload of documents on sharepoint
- Auto Download of documents from sharepoint
- Auto creation of folder structure on sharepoint
- Auto deletion of files or folders from sharepoint and so on.
- Creating Share Point List, Adding and Deleting records on it.
More details are as follows –
SharePoint facilitates transfer of files from local machine to Share Point server and vice versa. This feature is widely used in organizations by users. Currently this process is taking huge amount of time and executives, engineers other users get frustrated with this activity leading to lesser productivity and negative efficiency (I call it nefficiency). How to manage sharepoint to do all upload/download etc a bit faster. Here is the solution at Tobo’s Point.
Idea to use Sharepoint APIs thus eliminating manual effort and make CRUD a click away.
Massive time consumption in uploading/downloading files through different paths. Users waste several hours struggling with share point GUI over transfer of files to and fro (Local Machine to Share Point server & Vice versa)
Folders creation/Deletion/Edit with respect to data variation. Users struggle with CRUD(Create, Read, Update, Delete) operations of folders/subfolders etc.
Step by step guide is below.
The sharepoint URL for my organization is below, you guys can use yours.
In the link above the organization is “gotobo”. The name of the site is “Test”. Default folder is “Shared Documents” which is common for all the organizations. Now first we need to make this site trustworthy. In order to do that we need to generate client ID and secret ID of the site using the below links. Remember the site name “Test” from the URL above is crucial in order to create credentials.
BUT First we will create Client ID and Secret ID
Step 1 – Create your own link as follows –
Above link is for my organization’s sharepoint. In your case you need to change the organization(gotobo) and sitename(Test) as highlighted above in bold italics.
Following page will appear. Click on Generate as shown below, Client ID and Client secret will get generated. Then under Title put your site name. Here we are taking our example so putting “Test”. Under App Domain put localhost, Under Redirect URL put https://localhost. Refer snapshot below.
Once you have clicked on the two generate buttons above you will see something like this.
Client ID and Client Secret has been generated as shown above against red arrows. Now click on the create button to navigate onto another page as shown below.
Remember to click on the OK button before you exit this page. Once you click OK the client ID and Secret ID will be registered and can be used in your codes (Java or Python) for CRUD operations. Do copy the client ID and Secret ID because if you forget to do so you will have to create new credentials again for further use. Copy them and keep them for further actions like in the blog below.
Once you have the credentials and by credentials i mean client ID and Client Secret ID, we will move to another link to get the IDs trsuted. So create another link as follows.
So again as you can see we have highlighted the organization (gotobo) and site name (Test) for you to change in accordance with your organization name and site name. Once you have created the link as above go to that link and you will see a window as follows.
In the above picture you can see App ID marked as (1) in red and Look up marked as (2) in red. Enter your client ID which you had copied earlier in (1) and click (2). Complete information of your site will appear as follows.
So as shown above by red arrows the information is auto populated in the fields once the look up button is pressed. Now we need to enter some information in the block (3) as shown in red. Enter following XML snippet into it and click on create button.
<AppPermissionRequest Scope=”http://sharepoint/content/sitecollection/web” Right=”FullControl”/>
Copy above three lines and paste in the block as shown below marked (4) in red.
Once entered the xml snippet click on create button and you will be redirected to ‘Trust it’ page where click on the ‘Trust it’ button as shown below.
Once trusted your 50% part is done. Now you are ready for performing CRUD operations on share point using either JAVA or python. Remember to keep client credentials (Client ID and Client Secret ID with you, save it in a sitck key or notepad++).
Below are seperate links for Share point upload and download code in JAVA. Complete code with proper explanation is given.
22 thoughts on “Generate Client ID and Secret ID for SharePoint Site”
Ƭhis is verу fascinating, You’re an oveгly skilled blogger.
I’ve joined your feed and stay up for in searсh of extra of your еxcellent post.
Also, I’ve shared your ѡeƅsіte in my social networks
Thanks much…..I am more of a tech blogger…do let me know for any special topic you and your friends need help over….. 🙂
Hello my family member! I wish to say that this article is amazing, nice written and include almost all important infos.
I’d like to peer more posts like this .
Hello, I enjoy reading all of your article.
I like to write a little comment to support you.
This website was… how do you say it? Relevant!!
Finally I have found something that helped me. Thanks a lot!
Excellent post. Keep writing such kind of info on your page.
Im really impressed by it.
Hi there, You have performed an incredible job. I’ll definitely
digg it and in my view suggest to my friends. I’m sure they’ll be benefited
from this web site.
tamu exercise and sports science university of alabama
washington college tuition 2021 harvard mph careers
Nice post. I used to be checking constantly this blog and I’m impressed!
Very useful info specially the final section 🙂 I
take care of such info much. I used to be looking for this certain information for a long time.
Thanks and good luck.
What’s up everybody, here every one is sharing these familiarity, therefore it’s fastidious to read this blog, and I used to pay a quick visit this web site daily.
Hey there, You’ve done an incredible job.
I will definitely digg it and personally suggest to my friends.
I am confident they’ll be benefited from this web site.
Wonderful site you have here but I was wanting to know if you knew of any discussion boards that cover the same
topics talked about here? I’d really like to be a part of
community where I can get advice from other experienced individuals that share the same
interest. If you have any suggestions, please let me know.
Do you have a spam problem on this site; I also am a blogger, and I was wondering your situation; many of us
have developed some nice methods and we are looking to trade solutions with other folks,
please shoot me an email if interested.
You have made some good points there. I looked on the
web to learn more about the issue and found most people will go along with your views on this
This is a topic that’s close to my heart… Many thanks!
Exactly where are your contact details though?
I am really enjoying the theme/design of your weblog.
Do you ever run into any browser compatibility issues?
A number of my blog audience have complained about my site not working correctly in Explorer but
looks great in Firefox. Do you have any advice to
help fix this problem?
Quality content is the important to invite the users to pay a
quick visit the web site, that’s what this site is providing.
Thanks very interesting blog!
Օh my goodneѕs! Incredible аrticle ԁude! Many thanks, However I am
having troubles with your RSS. I don’t understand why I can’t
join it. Is there anybody else having similar RSS problems?
Anyone who knows the answer can you kindly respond?
Hello there! This іs my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche.
Your bⅼog provideⅾ us beneficial information to woгk on. You have done a marvellous job!
Wonderful article! We will be linking to this particularly great content on our site.
Keep up the good writing.
Feel free to surf to my site; slot game pulsa
Informative artіcle, exactlʏ what I wanted to find.