Forum Discussion
OneDrive UsageReports
They've tried to explain this in the documentation: https://support.office.com/en-us/article/Office-365-Reports-in-the-Admin-Center-OneDrive-for-Business-activity-8bbe4bf8-221b-46d6-99a5-2fb3c8ef9353?ui=en-US&rs=en-US&ad=US
Refresh dates are 24h/48h, but data can lag sometimes. Activity is any file related activity (save, sync, modify, or share). Anne Michels can probably share more details :)
- Jaroslav KarlikMay 20, 2018Brass Contributor
Hi Vasil,
Is there a way to get to these data from OneDrive Usage Report programaticaly? I mean thru Office Graph API or so? Its great its in admin center and your article perfectly explains everything but I would need to go to that section, export and than model data and so on... with data feed I can connect into some of custom powerBI reports we he build around OneDrive adoption.
ps: I know about out of box O365 Adoption Dashboard but we use custom reports to drive and monitor adoption.
thanks
JK
- StefanFriedMay 20, 2018Iron ContributorOf course this is possible via graph :)
- Jaroslav KarlikMay 20, 2018Brass Contributor
Hi Stefan,
thats what my thought was as well but when you browse thru documentation for that API it supports alot but the last activity on personal site (aka Onedrive) level is not there.
https://developer.microsoft.com/en-us/graph/docs/concepts/onedrive-concept-overviewsecond thought was, right it must be on user profile level, but no luck there either
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/userone way would be to read last modify date for each file and evaluate lastest one and claim it as last activity date but thats not good for large scale environments, we keep 2PB in onedrive so it will take ages to complete.
- StefanFriedOct 30, 2017Iron Contributor
i'm not sure if this happens only in my tenant, but if i perform Rest API calls against OneDrive (uploading/downloading a file in an automatic way) then i don't see this activity in the OneDrive Usage report at all :(((
i'm using Graph API here:
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/onedrive
i've checked the SPO Activity Report too (just to be sure) but i don't see it there as as well
any ideas whats wrong here ?
- StefanFriedOct 27, 2017Iron Contributor
thanks vasil
so would an upload/download via Web UI also count in here:
--> "Files viewed or edited is the number of files that the user uploaded, downloaded, modified, or viewed. "
i would say "yes"..but i'm not sure :)if yes, why do i see no activity in my report although i upload/download hundreds of files ? :)