Hi Mani
Thank you for posting your question in the Microsoft Q&A forum and for reaching out regarding allowing all users from an external domain to access your SharePoint site.
Below are the recommended settings you can configure in the SharePoint Admin Center:
- In the SharePoint Admin Center, select Policies from the left-hand menu.
- Choose Sharing.
- In the External sharing section, enable the Limit external sharing by domain feature.
- Select Allow only specific domains.
- Enter the domain you want to allow (e.g., partnercompany.com).
- Click Save to apply the changes.
You can also setting as below picture
To apply this configuration to individual sites:
- Navigate to Active sites in the SharePoint Admin Center.
- Select the site you want to configure.
- Choose Policies, then edit Sharing.
- Set the sharing level to New and existing guests.
You can also combine this setup with Conditional Access Policies in Microsoft Entra to enhance security. For example, by requiring multi-factor authentication (MFA) or restricting access to managed devices.
We hope the details provided will assist you effectively.
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.