Forum Discussion
luca_morelli
Sep 24, 2020Copper Contributor
unable to download reports using graph sdk
Hi, I'm trying to download the reports using return await graphClient.Reports.GetTeamsUserActivityCounts("D90") .Request(/*queryOptions*/).GetAsync(); but when I invoke it I obtain this e...
Trinetra-MSFT
Sep 24, 2020Former Employee
luca_morelli , What query parameters you are passing in the request?
Can you try below piece of code to get userCount report
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var report = await graphClient.Reports
.GetTeamsUserActivityCounts("D90")
.Request()
.GetAsync();
- luca_morelliSep 30, 2020Copper Contributor
Trinetra-MSFT I used the same code with that result.
- Trinetra-MSFTOct 09, 2020Former Employee
luca_morelli , I tried the same in graph explorer, and was able to get the response correctly without any error. Could you please tell what query parameter you are passing in Request?