https://support.microsoft.com/en-us/office/download-attendance-reports-in-teams-ae7cf170-530c-47d3-84c1-3aedac74d310?ui=en-us&rs=en-us&ad=us 



Download Skype for Business Online, Windows PowerShell Module first: https://www.microsoft.com/en-us/download/confirmation.aspx?id=39366 


Then run the following commands in PowerShell


Import-Module SkypeOnlineConnector

$userCredential = Get-Credential

$sfbSession = New-CsOnlineSession -Credential $userCredential

Import-PSSession $sfbSession


Set-CsTeamsMeetingPolicy -AllowEngagementReport Enabled