function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Code+1Code+1 

Updating mobile number of Salesforce User

Hello All,

 I have a requirement to update the mobile number of Salesforce User.
 I created a user 'XXXX' with the mobile number 12345
 Then, when i try to edit / Change the mobile number of user 'XXXX' with 9999. It is not getting recognized and updated.
 Please guide if there is something needs to be done...

Thanks !

 
Best Answer chosen by Code+1
Hamza AbibHamza Abib
Hi Krishna,

I would suggest you remove the mobile number completely from the user profile. Save it. 
Then log in again from a different device, and you should be prompted for the mobile number verification and run through the process again. Thsi should work. Otherwise, SMS might not be enabled and you should check the below knowledge articles:

Verification code sent via email and/or SMS (https://help.salesforce.com/HTViewSolution?id=000198756&language=en_US)

How to verify a valid mobile number (https://help.salesforce.com/apex/HTViewSolution?urlname=How-to-verify-a-valid-mobile-number&language=en_US)

If this resolves the issue for you, please Mark this as Best Answer and mark the query as Resolved

All Answers

Hamza AbibHamza Abib
Hi Krishna,

Although it allowed you to create it with a random number, when you update it, it needs to match the phone number format. if you wish it to be different, but a + sign before it
Code+1Code+1
Hi Abib,
 
 Yes, Even after updating the phone number with the valid mobile number in the correct format, still the number is not getting recognized and taken from Salesforce side.
I am not sure about the root cause of this, can you please explain in detail.

Thanks,
Krishnakumar R.
Hamza AbibHamza Abib
What is the error message you are receiving? 
Code+1Code+1
Hi Abib,

 I am not receiving any error message. New mobile number gets saved in the system.
 But, for the new number, Salesforce is not sending any one time pin via SMS.
 So, it means that, Salesforce is not recognizing the new mobile number right ??

Thanks !
Hamza AbibHamza Abib
Hi Krishna,

I would suggest you remove the mobile number completely from the user profile. Save it. 
Then log in again from a different device, and you should be prompted for the mobile number verification and run through the process again. Thsi should work. Otherwise, SMS might not be enabled and you should check the below knowledge articles:

Verification code sent via email and/or SMS (https://help.salesforce.com/HTViewSolution?id=000198756&language=en_US)

How to verify a valid mobile number (https://help.salesforce.com/apex/HTViewSolution?urlname=How-to-verify-a-valid-mobile-number&language=en_US)

If this resolves the issue for you, please Mark this as Best Answer and mark the query as Resolved
This was selected as the best answer
Code+1Code+1
Hi Abib,
  Wow, Your Out of Box thinking solved the issue.
  Thanks for your guidance.