Closed BBjie closed 1 week ago
The issue might be due to missing or incorrect permissions for the app registered in Microsoft Azure. The SharePointReader
class requires the application to have the following Microsoft Graph permissions: "Files.ReadAll", "Sites.ReadAll", and "BrowserSiteLists.Read.All". Ensure that your app has these permissions granted and that admin consent has been provided for them.
Additionally, make sure you have installed the llama-index-readers-microsoft-sharepoint
package:
pip install llama-index-readers-microsoft-sharepoint
After updating the permissions and installing the required package, try running your code again [1][2].
To continue talking to Dosu, mention @dosu.
@dosu Your solution seems wrong!
Question Validation
Question
I'm using the code below to download files from the SharePoint folder. I confirmed those credentials are correct, but it didn't work as expected and returned None value. Just wondering what causes this