How to Enable External Anonymous Sharing In Sharepoint Online for an Office 365 Group or Team

In the screenshot above, you can see when a site owner or member tries to share a document, the "Anyone with the link" option is greyed out and if you can see from the tooltip the error says "Your organization is preventing you from selecting this option". The first places to check as an administrator [...]