Safe Links creation fails for unknown reason

Pavel yannara Mirochnitchenko 13,331 Reputation points MVP
2023-02-20T06:33:58.42+00:00

However I try to create Safe Links policy in M365 Defender, I always get this unknown error message.

User's image

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Microsoft 365 and Office Install, redeem, activate For business Windows
{count} votes

Accepted answer
  1. John 85 Reputation points
    2024-05-21T22:14:43.47+00:00

    I ran into this when creating a Safe Links policy and the fix was to remove all the spaces from the Policy Name (even though the default policy name has spaces in it). Makes no sense, but it worked in my case.

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-02-21T02:45:16.7366667+00:00

    Hi @Pavel yannara Mirochnitchenko ,

    Please check whether the account has the following role permissions:

    1. A member of the Organization Management or Security Administrator role group in the Microsoft 365 Defender portal

    2. A member of the Organization Management role group in Exchange Online.

     

    If your account meets the above conditions and still cannot create a policy, we recommend that you refer to the following link to configure a Safe Links policy with PowerShell for more detailed error information for our better research.

    Set up Safe Links policies in Microsoft Defender for Office 365 - Office 365 | Microsoft Learn


    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

    0 comments No comments

  2. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-02-21T08:19:54.9833333+00:00

    Hi @Pavel Yannara Mirochnitchenko ,

    Thank you for posting an update on this issue and I'm glad to hear that your problem was successfully resolved! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.


    [Safe Links creation fails for unknown reason]
    Issue Symptom:

     I try to create Safe Links policy in M365 Defender, I always get this unknown error message.

    2023-2-21-1

    Solution:

    After a few hours, try creating the Safe Links policy again, and it works.


    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks!


  3. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-03-01T10:21:40.2666667+00:00

     

    Hi @Pavel yannara Mirochnitchenko

    For this error, I found some similar threads solved through Enable-OrganizationCustomization, please connect to Exchange Online PowerShell and run the following command to check IsDehydrated parameter:

     

    Get-OrganizationConfig | Format-List Identity,IsDehydrated
    

     

    If it is true, run the following command and create the Safe Links policy again to see if it works.

     Enable-OrganizationCustomization
    

    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

    0 comments No comments

  4. Andrew Rayner 0 Reputation points
    2025-01-22T20:33:31.71+00:00

    I ran into this today.

    Ensure your policy name has no symbols or spaces at all. Just uppercase and lowercase letters and numbers are accepted.

    0 comments No comments

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.