privileges with admin consent for my application (running as a scheduled background service) to be able to access (read) files stored on SharePoint and OneDrive
The application works perfectly (with the latest MsGraph API), but in production running at a larger organization, we'd like to limit it's privileges scope to only access certain users' SharePoint and OneDrive storages, similarly to limiting access
- to specific mailboxes as described here
- or to specific SharePoint Sites as described here
How can it be configured?