When a service uses the Phone Number onboarding requirement, Notakey Authenticator asks the user for a phone number and then sends a code by SMS (or by WhatsApp, if that option is enabled on the requirement). The appliance uses the number to find the user, so it sends a code only if a user of that service has this number. If no user matches, the app shows “Phone number is not allowed.” and no message is sent.

We reproduced this on appliance 5.2.2 with the Android app and a service user who had no phone number. The message was the same whether the number was typed with the country code or without it.
What to check
- The user exists in the service and has the number. For local users, open the service in the dashboard, then Users, the user, and check Main phone number. The user must already exist before onboarding; the Phone Number requirement does not create users.
- External user sources have the number too. Users from LDAP or Active Directory need a mobile phone number in the directory. Active Directory uses the first entry under Mobile (Active Directory Users and Computers → user properties → Telephones tab).
- The stored number is in international format: country code + number,
for example “371 23456789” for Latvia. Spaces,
+and-are allowed. - Numbers stored without a country code. If your user source keeps numbers in national format, the appliance tries to add a country prefix to them. The default prefix is 371 (Latvia), so outside Latvia set your own:
ntk cfg setc :nas.phone_country_code 371
Replace 371 with your country code. The setting is ignored for numbers that are already in
international format.
The dashboard manual describes the Phone Number requirement and the other onboarding requirements.