Computer Configuration > Administrative Templates > Microsoft Edge
Both
HKLM\Software\Policies\Microsoft\Edge
Allows Microsoft Edge to display links recently shared by or shared with the user from Microsoft 365 apps in History. If you enable or don't configure this policy, Microsoft Edge displays links recently shared by or shared with the user from Microsoft 365 apps in History. If you disable this policy, Microsoft Edge does not display links recently shared by or shared with the user from Microsoft 365 apps in History. The control in Microsoft Edge settings is disabled and set to off. This policy only applies for Microsoft Edge local user profiles and profiles signed in using Azure Active Directory.