A best practice is to remove legacy groove from Office 365 or 2016 msi package.

For msi use /admin and deselect Groove when creating a msp file

For Office 365 use config file and add:

<ExcludeApp ID=”Groove” />