OneDrive or SharePoint file share Notification.

Vishnu Anand 250 Reputation points
2025-02-26T03:16:02.9733333+00:00

How can we configure email notifications to receive details like the filename, external email ID, or user details when any of our organization’s users send files or links to external emails or users from OneDrive or SharePoint?

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,394 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 22,575 Reputation points Microsoft External Staff
    2025-02-26T09:51:03.8066667+00:00

    Hi @Vishnu Anand,

    Thanks for your trust and we are pleased to offer assistance.

    When you share files or folders from SharePoint, the platform automatically generates an email to the recipients. This email includes a link to the shared item and some basic information about it.

    However, SharePoint does not offer an out-of-the-box way to modify the body of the email that is sent when you share files or folders. The email template is standardized and cannot be customized directly through SharePoint settings.

    We are always looking for ways to improve SharePoint, and your feedback and suggestions are very valuable.

    We suggest that you can make suggestions on this SharePoint Feedback portal for customization of SharePoint share alert email templates. Your contribution will be highly appreciated.

    MS will take this into serious account and make some modifications accordingly, which will benefit more community members.

    Thanks for your meaningful contributions.

    Should you have any questions or concerns, please do feel free to contact me.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. It will be beneficial to more community members reading here. Your contribution will be highly appreciated.


  2. Ling Zhou_MSFT 22,575 Reputation points Microsoft External Staff
    2025-02-27T06:31:36.4366667+00:00

    Hi @Vishnu Anand,

    I would like to make a sincere apology for the delay, because it took me a while to find other solutions.

    Regarding your question, you can try using the Alert Policy in Microsoft Defender.

    Here are the specific steps:

    1.Navigate to Alert policy and login.

    2.New Alert Policy.

    User's image

    3.Name your alert, categorize it, and choose a severity.

    User's image

    4.Choose Shared file externally activity, conditions and when to trigger the alert.

    User's image

    5.Specify who will receive this notification.

    User's image

    6.Open the policy and submit.

    User's image

    7.This way when a user shares a file for an external user, the recipient receives an email like this:

    User's image

    8.Click View alert details > View activity list >Sharingset. In the list you can see who shared the file, which file was shared and to whom.

    User's image

    User's image

    User's image

    User's image

    9.This is only for sharing files to external users, you can create another policy, but with Share file or folder activity.

    If you have any questions, please do not hesitate to contact me.

    Moreover, if the issue can be fixed successfully, please click "Accept Answer" so that we can better archive the case and the other community members who are suffering the same issue can benefit from it.

    Your kind contribution is much appreciated.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.