Issue with listing of shared items
- Dominant language
- R
- Stars
- 368
- Forks
- 58
- Avg merge
- 1h 42m
- Merged PRs (30d)
- 4
Description
My team has a lot of shared files and directories on a business OneDrive account and this package has worked well in accessing them. However, we noticed this week that when listing shared files or items the responses are not what we would expect. When performing the code below we each get a random smattering of files. Not a list of folders and files like we used to get. I'm wondering if this is an upstream breaking change in the AzureGraph package or something else. Any ideas? I have tried both the CRAN version and this direct Github package.
```
#Code I ran
drive <- get_business_onedrive(auth_type="device_code")
drive$list_shared_files()
#Example of what I received in return
[[1]]
directory id: 01GIEJS8IEJGIEJSIJGGIEJSIEGJ
web link: https://mycompany.sharepoint.com/sites/MySite/_layouts/15/Doc.aspx?sourcedoc=%701JIEJSIGJEISEGIS%7D&file=myfile.docx&action=default&mobileredirect=true&DefaultItemOpen=1
type: file
---
Methods:
copy, create_folder, create_share_link, delete, do_operation, download, get_item, get_list_pager, get_parent_folder, get_path, is_folder, list_files, list_items, load_dataframe, load_rdata, load_rds,
move, open, save_dataframe, save_rdata, save_rds, sync_fields, update, upload
```
Contributor guide
Research direction
Start by reproducing the report with get_business_onedrive(auth_type="device_code") and drive$list_shared_files() using a business OneDrive account. Compare the returned items with the expected shared folders and files, and check whether CRAN and the GitHub version behave identically. Done means the cause is identified and shared-item listing either returns the expected collection or is confirmed as an upstream Azure Graph change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100