Forum Discussion
API to to get and post data in Microsoft Lists
I'm not sure what you mean by List account.
Lists have been around for decades and are created in sharepoint sites, including individuals personal MySites.
Depends on the security requirements of your app or what you are trying to do - but here are some suggestions.
1) You could have one single list that everyone can access which contains all the tasks. One column of that list could be the name of the person who is the assignee. You could then create a view for that list where you filter on my persons name - so essentially saying where the Assignee = [Me].
That would mean - anyone looking at that list would only see their own tasks.
2) If this is just about notification - you could create a power automate - and trigger an email to a person, or a message in Teams
3) If this is actually a Task - then again you could use powerautomate to put the task into a Microsoft Planner or into individuals Microsoft To Do
The first one is simple but not particularly secure. If the assignees need to have write permissions, then they could potentially see other peoples tasks - but maybe that doesnt matter to you.
But yes - Power Automate is your friend
- Vrun2216Sep 11, 2020Copper Contributor
Thanks for the suggestion that was really helpful.
Now, I found that Microsoft provides API https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints?redirectedfrom=MSDN to create list. Can you please help me in by sharing some reference on how to generate the oAuth token to create the list in sharepoint from REST api.