getTeamsUserActivityUserDetail Graph API call in SPFx


Hello SharePoint Users,

I'm developing an SPFx webpart to pull the MS Teams user activity details.

I have given the solution the Reports.Read.All permission in the package and in the Azure portal (API permissions), granted the API access in the SharePoint admin portal as well.

But i still get the 403 forbidden error-

GET'D7')?$format=applica... 403 (Forbidden)


Here is the code segment that i use (pasting only the relevant part). I'm using same approach for getting the current users Team names and members displayed. Those methods work fine.

Any help appreciated.




           console.log("Error logs "err);


0 Replies