Jul 06 2021 06:32 AM - edited Jul 06 2021 06:32 AM
Hi All.
I'm currently pulling some data from Graph API in regards to Teams Usage, and I do not seem to be able to pull the most recent date data. - Here's what I'm doing.
$date = (Get-Date).AddDays(-1).ToString("yyyy-MM-dd")
"https://graph.microsoft.com/v1.0/reports/getTeamsUserActivityUserDetail(date=$date)"
Whenever requesting a value smaller than -4 I seem to be able to generate data, however whenever requesting data using -3 or higher, it appears it doesn't parse me any data.
Are you aware of any constraints in regards to pulling the data over graphAPI using the 'getTeamsUserActivityUserDetail' method?
It's fairly important for me to be able to pull it on a date by date method.
Regards
HubDamian
Jul 06 2021 09:23 AM