# Creating lists in Sharepoint Online using NodeRed

**URL:** <https://discourse.nodered.org/t/creating-lists-in-sharepoint-online-using-nodered/49438>\
**Category:** General\
**Created:** [6 August 2021 20:37 UTC](https://discourse.nodered.org/t/creating-lists-in-sharepoint-online-using-nodered/49438 "2021-08-06T20:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdevilliers](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gdevilliers](https://discourse.nodered.org/u/gdevilliers)\
**Post date:** [6 August 2021 20:37 UTC](https://discourse.nodered.org/t/creating-lists-in-sharepoint-online-using-nodered/49438/1 "2021-08-06T20:37:17Z")

</div>

Hi Guys, I am trying to create a Sharepoint list and the authentication process and amount of options out there has kept me busy for days. Nevermind the complexity obtaining the correct tokens to use the Graph APIs. I have used the Graph OAuth Login node to create a token but found out that I cannot use a client secret instead of client assertion, otherwise you get stuck with "unsupported app only token" errors.

Has anyone had success with this? Perhaps a simpler method of writing data to Sharepoint lists?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [7 August 2021 13:11 UTC](https://discourse.nodered.org/t/creating-lists-in-sharepoint-online-using-nodered/49438/2 "2021-08-07T13:11:44Z")

</div>

I've done a lot of work with Office 365 professionally but very little programming with it. Mostly PowerShell.

However, there are a lot of resources made available these days and I would recommend starting with the Microsoft documentation and looking at their node.js examples. If you can get those working then it will be possible to add Node-RED into the mix.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 October 2021 13:11 UTC](https://discourse.nodered.org/t/creating-lists-in-sharepoint-online-using-nodered/49438/3 "2021-10-06T13:11:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
