Share via

Error Code 40351 — Phone number did not pass security checks during Microsoft 365 Developer Program registration

Mancini, Andrea 0 Reputation points
2026-02-27T11:49:14.02+00:00

Hi, I am trying to join the Microsoft 365 Developer Program and request an Instant Sandbox or Configurable Sandbox, but I am unable to pass the phone verification step.

During verification, I consistently receive the following message:

We can't continue with the signup process for the following reason:
Your phone number did not pass security checks.
Code: 40351
MS-CorrelationId: <value>

From what I found in the Microsoft Q&A and GitHub issues, Error 40351 seems to be related to backend verification filters that only Microsoft Support can fix.

Could you please assist in enabling my account to proceed with phone verification, or manually validate my enrollment into the Developer Program?

Thank you in advance for your help.

Microsoft 365 and Office | Development | Microsoft 365 Developer Program
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Teddie-D 12,930 Reputation points Microsoft External Staff Moderator
    2026-02-27T13:37:29.6266667+00:00

    Hi @Mancini, Andrea 

    Thank you for posting your question in the Microsoft Q&A forum. 

    The error code 40351 usually indicates that the system was unable to verify your phone number during the security check. This can happen if your country or region is not on the supported list, or if there are issues with the phone number itself. 

    To confirm whether your location is supported, please refer to Microsoft 365 International Availability.

    If your country is listed but the issue persists, we recommend contacting Microsoft Developer Support for further assistance through Services Hub.  
    Please note that Services Hub is intended for paid support tickets and access is subject to certain conditions. You can find more details here Services Hub sign in FAQs | Microsoft Learn. 

    If you need to create a new developer account right away, you may want to try registering with a different phone number, such as a work mobile or secondary line, to complete the process successfully. 

    Thank you for your understanding and cooperation.  


    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. 

    1 person found this answer helpful.
    0 comments No comments

  2. Q&A Assist
    2026-02-27T11:49:31.7933333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error 40351 indicates that the phone number failed Microsoft’s security checks during verification. This is similar in nature to cases where numbers are blocked or flagged with a “bad reputation” and cannot be used for SMS verification.

    For Microsoft 365 Developer Program signup specifically:

    1. Ensure the phone number meets the program requirements
      • Use a valid mobile (cell) number, not a VoIP number. VoIP numbers are not allowed for verification.
      • Only one Microsoft 365 Developer Program account can be associated with a given phone number.
      • If previously used for another Developer Program account, try a different valid mobile number.
      These requirements are enforced during the “Send code” step when setting up an instant or configurable sandbox.
    2. Avoid repeated verification attempts
      • Excessive or repetitive requests for codes can cause Microsoft systems to temporarily block sending verification codes or to fail security checks.
      • Wait before retrying if there have been many attempts in a short period.
    3. Check for conditions that cause blocking
      • Microsoft may temporarily block verification if there is unusual activity or heavy compromised traffic from a region. In such cases, the block is lifted automatically after some time.
    4. If still blocked, contact Microsoft Support
      • Public forums and normal support channels cannot override security checks directly or send verification codes.
      • However, for issues where a number is blocked (similar to “bad reputation” cases), resolution has required internal action by Microsoft support/data teams.
      • Use the official support entry points:
        • For sign-in/verification issues, start with the sign-in helper: Sign-in helper.
        • For further assistance, go to Contact Microsoft Support, describe that phone verification for Microsoft 365 Developer Program fails with code 40351, and include the MS-CorrelationId shown in the error.
      Support agents cannot send codes or directly change account details, but they can escalate verification and MFA issues internally, as seen in similar cases where a blocked number or MFA configuration had to be reset by Microsoft teams.

    If the current number continues to fail security checks even after waiting and ensuring it is a valid mobile number, the only practical options are:

    • Use a different eligible mobile number, or
    • Work with Microsoft Support so the underlying block on the number/account can be investigated and cleared by internal teams.

    References:

    0 comments No comments

Your answer

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