1

I'm new to the share point API. I am attempting to retrieve all the lists in a SharePoint subsite so that later I can choose one of the document libraries and upload a file.

When the query finishes it only returns a single list item, named "User Information List" when I expected there to be 6 in total including a "Shared Documents" document library. The code I'm using is below:

enter image description here

For authentication I am following the Microsoft modern authentication standard from https://docs.microsoft.com/

It seems like it should be pretty simple and I am just missing something small.

If anyone could help me understand why I am not returning the data back from the SP client as expected it would be much appreciated.

2
  • Try example given in Microsoft docs at: link & let me know if this works for you. Oct 15 at 15:52
  • @GaneshSanap I tried the example in the link. I get the same results back 1 list comes back titled "User Information List". Oct 15 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.