I had assumed that OneDrive offers a free personal storage tier, so that API accesss to OneDrive should not require that the user has an Office 365 subscription...
However, after hours of debugging, and just going straight to Postman, after trying to call:
https://graph.microsoft.com/v1.0/me/drive/root/search(q='.obj')?select=name,id,@content.downloadUrl
using the token, the error returned seems to be that the user does not have SPO, which seems to mean Office365 subscription is required?
{
"error": {
"code": "BadRequest",
"message": "Tenant does not have a SPO license.",
"innerError": {
"request-id": "270808a8-4763-4ada-a878-e5ff34571c2f",
"date": "2020-02-20T06:08:52"
}
}
}
Is there a way to access OneDrive by API without needing Office?
Update, just bought Office 365 ... this error still occurs... What does SPO license mean exactly?