---
title: Configuring the phone number attribute in PingOne
description: If you are using PingOne as your identity provider (IdP) and want to enable backup authentication or pre-populate or restrict registration data, you must first define the phone number attribute in the PingOne directory.
component: pingid
page_id: pingid:pingid_service_management:pid_configuring_phone_number_attribute_in_p1
canonical_url: http://docs.pingidentity.com/pingid/pingid_service_management/pid_configuring_phone_number_attribute_in_p1.html
revdate: January 29, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring the phone number attribute in PingOne

If you are using PingOne as your identity provider (IdP) and want to enable backup authentication or pre-populate or restrict registration data, you must first define the phone number attribute in the PingOne directory.

## About this task

For more information, see [Configuring backup authentication methods](pid_configuring_backup_authentication_methods.html) and [Pre-populating or restricting user registration data](pid_prepopulating_or_restricting_user_registration_data.html).

## Steps

1. In the PingID admin portal, go to **SETUP → Directory → Attributes**. ![A screen capture of the Attributes tab.](_images/bsq1564020627347.png)

2. If the **phoneNumbers** attribute is not listed, click **Add Attribute** and then select the **phoneNumbers** attribute. Click **Add**. ![A screen capture of the Add Attribute modal.](_images/gen1564020628098.png)

   |   |                                                                                                         |
   | - | ------------------------------------------------------------------------------------------------------- |
   |   | This ensures that the relevant phone number attributes appear as options when configuring user details. |

3. Go to **SETUP → Dock → Configuration**.

4. In the **ATTRIBUTE MAPPING** section, from the **phoneNumber** list, select the phone number attribute you want to use. ![A screen capture of the phoneNumber list.](_images/ftw1564020628737.png)

5. To add a phone number for a specific user, go to **Users → User Directory → Users**. For the relevant user entry, click **Edit** and add the user's phone number to the relevant phone number field. Click **Save**.

   |   |                                                                                                                                                    |
   | - | -------------------------------------------------------------------------------------------------------------------------------------------------- |
   |   | You must enter phone numbers in Google Library format, which specifies that all phone numbers must include "+" and the international country code. |
