You can use the [Access Manager] to clean up any anonymous links from files and folders in your tenant.
To do so, proceed as follows:
- Navigate to [Access Manager] and select 'Remove Anonymous Links'
- Select which site/s you wish to remove anonymous sharing links from
- Once done, select 'Remove Anonymous Links' to proceed