Is it possible to restrict sharing of SharePoint and OneDrive content by domain without logins?

Copper Contributor

Is it possible to restrict the sharing of SharePoint and OneDrive content by domain without logins?

Example: All employees from abc.com employees can access this site without the need to login only criteria for the employees would be they should be in their domain network if they are logged in from home and are not in the domain network they should not be allowed.

2 Replies
AFAIK,
This scenario is not supported when you share content anonymously from SPO and or ODFB. You can specify domains you want to block / allow when sharing from both services, but only when we are dealing with sharing with guests users in the tenant