getTeamsUserActivityUserDetail (Date) doesn't return newest data

%3CLINGO-SUB%20id%3D%22lingo-sub-2519214%22%20slang%3D%22en-US%22%3EgetTeamsUserActivityUserDetail%20(Date)%20doesn't%20return%20newest%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2519214%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All.%3C%2FP%3E%3CP%3EI'm%20currently%20pulling%20some%20data%20from%20Graph%20API%20in%20regards%20to%20Teams%20Usage%2C%20and%20I%20do%20not%20seem%20to%20be%20able%20to%20pull%20the%20most%20recent%20date%20data.%20-%20Here's%20what%20I'm%20doing.%3C%2FP%3E%3CP%3E%24date%20%3D%20(Get-Date).AddDays(-1).ToString(%22yyyy-MM-dd%22)%3C%2FP%3E%3CP%3E%22%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Freports%2FgetTeamsUserActivityUserDetail(date%3D%24date%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Freports%2FgetTeamsUserActivityUserDetail(date%3D%24date%3C%2FA%3E)%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhenever%20requesting%20a%20value%20smaller%20than%20-4%20I%20seem%20to%20be%20able%20to%20generate%20data%2C%20however%20whenever%20requesting%20data%20using%20-3%20or%20higher%2C%20it%20appears%20it%20doesn't%20parse%20me%20any%20data.%3C%2FP%3E%3CP%3EAre%20you%20aware%20of%20any%20constraints%20in%20regards%20to%20pulling%20the%20data%20over%20graphAPI%20using%20the%20'getTeamsUserActivityUserDetail'%20method%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20fairly%20important%20for%20me%20to%20be%20able%20to%20pull%20it%20on%20a%20date%20by%20date%20method.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EHubDamian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2519214%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20Graph%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

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

1 Reply
All the reports are generated with few days delay, they are nowhere near real-time. 3 days is actually fine, we've had them lag my weeks on occasion.