Update User Email ID using PowerShell in SharePoint 2013/2016

how to update user email address sharepoint 2013
SharePoint deveopment training course

This SharePoint 2013 tutorial, we will discuss how to update user email id using PowerShell and using SharePoint central administration in SharePoint 2013/2016.

We were not able to trigger email because of User profile Email-ID mismatched with Active Directory. We will see how to update user email id using PowerShell in SharePoint 2013/2016.

To fix this issue we can update the user email-id in 2 ways:

  • Update Email-ID in User Profile Service Application through Central Administration
  • Update Email-ID using PowerShell

Update Email-ID in User Profile Service Application through Central Administration

Update Email-ID in User Profile Service Application through SharePoint Central Administration, follow the below steps to update email-id of the user.

Log-on to the application server with a FARM admin account. Open the Manage service applications.

how to update sharepoint user email address using powershell

Click on “User Profile Service Application”.

update user email id using powershell sharepoint

Click on “Manage User Profiles”.

update user email id using powershell sharepoint 2013

Enter the user-id and click on the “Find” button.

update user email id using powershell sharepoint 2016

You should be able to see the user details and incorrect email-id.

how to update sharepoint user email address

Click on “Edit My Profile”.

how to update user email address sharepoint 2016

Enter the updated email as part in “Work Email” property and click on “Save and Close” button.

how to update user email address sharepoint 2013

Update Email-ID using PowerShell in SharePoint 2013/2016

As we all know we can do any operation using PowerShell commands. Here is the script to update the email-id property of the user in SharePoint using PowerShell.

Syntax:
$user = Get-SPUser -Identity <domain\user-id> -Web <"Web Application URL">
$user | Select UserLogin,DisplayName,Email

Set-SPUser -Identity <domain\userId> -Email <email-id> -Web <"Web Application URL">

Example:
$user = Get-SPUser -Identity "corp\krishna" -Web http://contoso.com:9535/
$user | Select UserLogin,DisplayName,Email

Set-SPUser -Identity "corp\NBKXUAR" -Email "Krishna.vandanapu@contoso.com" -Web http://contoso.com:9535/

You may like following SharePoint tutorials:

This SharePoint tutorial explains, how to update user email id using PowerShell and from SharePoint 2013 central administration.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →