To start, go to the Microsoft 365 Admin Center and select Settings and then Security and Privacy. As a second step, external sharing has to be enabled for Office 365 Groups, too. In order to do so, select the Office 365 Group Settings and then “Services and Add-ins”. This topic is easy to implement but complex to explain, so please read the full blog post before going ahead.