Hi @Lennard End ,
This option is not available in SharePoint 2019, but can run PowerShell code as a workaround.
Since we do not have a test environment for the subscription version at the moment, it is unclear whether the subscription version supports this option. You may try the 2019 solution.
You need to connect your on-premises SharePoint environment to Azure AD Access Control to configure federation between Azure Active Directory and on-premises SharePoint. The goal is to allow users to log in to Azure Active Directory and use their identity to access SharePoint on-premises sites. It requires Office Online Server as the guest sharing links leverage the web-based Office viewer/editor.
Here is the PowerShell code:
$farm = Get-SPFarm $farm.Properties.Add("GuestSharingEnabled",$true) $farm.Properties.Add("SPO-GuestSharingUIEnabled",$true) $farm.Update()
Reference: Implement federated authentication between Azure Active Directory and SharePoint on-premises
Third-party reference articles: Enabling Anonymous Share Links in SharePoint Server 2019
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.