Hi @Kareem ,
Welcome to our forum!
Do you want to prevent the shared mailbox from receiving all emails? Or External Emails?
If you want to prevent the shared mailbox from receiving all emails, it's suggested that you could create a Mail Flow as shown in the below image in Exchange admin center via Mail flow>Rules:
If you want to prevent the shared mailbox from receiving External Emails, it's suggested that you could try the following steps:
- Go to the Exchange admin center.
- Navigate to Recipients > Mailboxes and choose the target shared mailbox.
- Under Manage mail flow settings, configure Message delivery restriction.
- Choose both All senders and Required senders to be authenticated.
Hope to help you!
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.