Share via

[Authentication] 2FA with phone number - Austria

Tuan Manh Duong 60 Reputation points
2026-03-12T06:48:12.25+00:00

Hello everyone,

We are currently experiencing an issue when using a phone number as an authentication factor in our system.

Our customers in Austria receive the error "Bad phone number" when they attempt to register. The phone numbers are entered in the correct international format (e.g., +43...). We have verified that the numbers themselves are valid.

For context, we are using Azure AD B2C as our authentication service.

Has anyone encountered the same issue before? If so, how did you resolve it?

From what we understand, this issue may be related to the phone number validation or SMS provider configuration on the Microsoft side.

Any insights or suggestions would be greatly appreciated.

Microsoft Security | Microsoft Authenticator
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-12T06:48:28+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The behavior is consistent with Azure AD B2C phone-number validation and/or downstream telecom reputation issues, not with the numbers your users are entering.

    Key points and checks:

    1. Validate the phone number format against B2C’s pattern Azure AD B2C uses a strict E.164-style pattern for phone numbers:
      • Must start with +
      • Only digits and optional spaces/hyphens
      • Length 6–15 digits after +
      From the B2C localization definitions:
      • number_pattern: ^\\+(?:[0-9][\\x20-]?){6,14}[0-9]$
      • invalid_number: “Please enter a valid phone number”
      Ensure the numbers are stored and sent exactly like +43 6601234567 (or without spaces), with no brackets or other symbols.
    2. Confirm how B2C parses the phone number If using custom policies and phone-number claims transformations, verify that the number is considered valid:
      • GetNationalNumberAndCountryCodeFromPhoneNumberString is used to split the phone number into national number and country/region code.
      • If the number is invalid, B2C can surface a custom error message such as “Bad phone number” from the self-asserted technical profile.
      Check the technical profile that validates the phone number and any UserMessageIfPhoneNumberParseFailure or similar metadata that might be mapped to “Bad phone number.”
    3. Check the B2C phone-factor UI error mapping The phone factor page has built-in error strings that might be surfaced:
      • error_448: “The phone number you provided is unreachable.”
      • error_tryagain: “The phone number you provided is busy or unavailable. Please check the number and try again.”
      • error_sms_throttled / error_phone_throttled / error_throttled for rate limits.
      If “Bad phone number” is a custom localization string, review your localization file and mapping for Austria-specific flows.
    4. Consider telecom / reputation issues For MFA and SMS, Microsoft uses multiple telecom providers. Known issues include:
      • Faulty telecom providers or blocked/“bad reputation” numbers can cause repeated failures.
      • In similar cases (error 399287 / bad reputation), Microsoft support had to reset MFA or clear the reputation flag on the provider side.
      Recommended actions:
      • Test multiple Austrian numbers from different carriers.
      • Attempt registration several times within a short window (for example, five times within 5 minutes) and capture timestamps, correlation IDs, and affected numbers.
      • Open a support case with Microsoft, providing those details so they can check the telecom routing and any reputation blocks for Austrian numbers.
    5. Verify SMS-based sign-in configuration (if used) If SMS-based sign-in is enabled for customers:
      • Ensure the SMS authentication method policy is enabled for these users.
      • Confirm numbers are stored in proper E.164 format and not reused in conflicting ways in the tenant.

    If the numbers pass the B2C regex and claims transformation but still fail with “Bad phone number” only for Austria, the next step is to involve Microsoft support to investigate telecom routing or reputation issues for Austrian phone numbers in your tenant.


    References:

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.