{"id":1441,"date":"2011-12-18T05:25:30","date_gmt":"2011-12-18T05:25:30","guid":{"rendered":"http:\/\/www.obieta.com\/?p=1441"},"modified":"2011-12-18T05:25:30","modified_gmt":"2011-12-18T05:25:30","slug":"specifying-users-email-in-sharepoint-2010","status":"publish","type":"post","link":"http:\/\/obieta.com\/?p=1441","title":{"rendered":"Specifying users&#8217; email in Sharepoint 2010"},"content":{"rendered":"<h3>Specifying users&#8217; email in Sharepoint 2010<\/h3>\n<div id=\"post-body-1533562063477711045\">How to deal with\u00a0 &#8220;You do not have an e-mail address.\u00a0 <br \/>Alert has been created successfully but you will not receive notifications until <br \/>valid e-mail or mobile address has been provided in your profile.&#8221; error <br \/>message.<br \/><a name=\"more\"><\/a><br \/>Long story <br \/>short:<br \/>In Foundation just add the email <br \/>address on the My Settings page.<br \/>In <br \/>Server either add email for each user in User Profile Service Application <br \/>properties, or let them edit it themselves. But it must get copied from User <br \/>Profile web application to &#8220;real&#8221;, content web applications before it could be <br \/>used in Alerts.<\/p>\n<p>To copy it from User Profile application:<br \/>&#8211; Make sure <br \/>User Profile Synchronization Service is running<br \/>&#8211; Make sure the sync of user <br \/>profiles to Active Directory is finished (Note: I need to test what&#8217;s happening <br \/>on a clean install)<br \/>&#8211; Either wait for it to run as scheduled (hourly by <br \/>default) or force to run &#8220;User Profile Service Application &#8211; User Profile to <br \/>SharePoint Full Synchronization&#8221; timer job.<\/p>\n<p>Long story, with <br \/>illustrations:<\/p>\n<p><\/p>\n<h1>1. Sharepoint 2010 Foundation:<\/h1>\n<p><\/p>\n<div><a href=\"http:\/\/2.bp.blogspot.com\/-PnLOPIgN9XE\/Tc8pVHqO-UI\/AAAAAAAAAS4\/OttbTnjSPZg\/s1600\/Foundation+Version.png\"><img loading=\"lazy\" src=\"http:\/\/2.bp.blogspot.com\/-PnLOPIgN9XE\/Tc8pVHqO-UI\/AAAAAAAAAS4\/OttbTnjSPZg\/s640\/Foundation+Version.png\" border=\"0\" alt=\"\" width=\"640\" height=\"332\" \/><\/a><\/div>\n<p>Obviously there is no User <br \/>Profile Service:<\/p>\n<div><a href=\"http:\/\/3.bp.blogspot.com\/-n5GE1SL93wE\/Tc8pjLj4AKI\/AAAAAAAAAS8\/Dd49EDP2xys\/s1600\/Foundation+Service+Apps.png\"><img loading=\"lazy\" src=\"http:\/\/3.bp.blogspot.com\/-n5GE1SL93wE\/Tc8pjLj4AKI\/AAAAAAAAAS8\/Dd49EDP2xys\/s640\/Foundation+Service+Apps.png\" border=\"0\" alt=\"\" width=\"640\" height=\"309\" \/><\/a><\/div>\n<p>Also, &#8220;Welcome Menu&#8221; only <br \/>has link to My Settings Page:<\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-KeuLruI1t1g\/Tc8qPRHr8bI\/AAAAAAAAATA\/03_dyfeb3Hw\/s1600\/Foundation+User+Menu.png\"><img src=\"http:\/\/4.bp.blogspot.com\/-KeuLruI1t1g\/Tc8qPRHr8bI\/AAAAAAAAATA\/03_dyfeb3Hw\/s1600\/Foundation+User+Menu.png\" border=\"0\" alt=\"\" \/><\/a><\/div>\n<p>Which lets you specify email address:<\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-B9MdWbGi2xE\/Tc8qX1auokI\/AAAAAAAAATE\/CkisLD9ey7M\/s1600\/Foundation+Edit+User+Settings.png\"><img loading=\"lazy\" src=\"http:\/\/4.bp.blogspot.com\/-B9MdWbGi2xE\/Tc8qX1auokI\/AAAAAAAAATE\/CkisLD9ey7M\/s640\/Foundation+Edit+User+Settings.png\" border=\"0\" alt=\"\" width=\"640\" height=\"366\" \/><\/a><\/div>\n<p>That was easy.<\/p>\n<h1>2. Sharepoint 2010 Server<\/h1>\n<p><\/p>\n<div><a href=\"http:\/\/3.bp.blogspot.com\/-pavOahX8Ug0\/Tc8yxqHJtKI\/AAAAAAAAATI\/birIFxKbe5I\/s1600\/Server+Version.png\"><img loading=\"lazy\" src=\"http:\/\/3.bp.blogspot.com\/-pavOahX8Ug0\/Tc8yxqHJtKI\/AAAAAAAAATI\/birIFxKbe5I\/s640\/Server+Version.png\" border=\"0\" alt=\"\" width=\"640\" height=\"320\" \/><\/a><\/div>\n<p>In Server, user properties <br \/>are stored in user profile:<\/p>\n<div><a href=\"http:\/\/3.bp.blogspot.com\/-ms3pE3KhXPo\/Tc9VE3I8dzI\/AAAAAAAAATc\/cgID14oejFs\/s1600\/Server+Welcome+Menu.png\"><img src=\"http:\/\/3.bp.blogspot.com\/-ms3pE3KhXPo\/Tc9VE3I8dzI\/AAAAAAAAATc\/cgID14oejFs\/s1600\/Server+Welcome+Menu.png\" border=\"0\" alt=\"\" \/><\/a><\/div>\n<p>so here&#8217;s My Settings page:<\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-l-LJHGUPLMs\/Tc8zMJwbJzI\/AAAAAAAAATM\/js0YXWGfEh0\/s1600\/Server+User+Settings+-+WebApp.png\"><img loading=\"lazy\" src=\"http:\/\/4.bp.blogspot.com\/-l-LJHGUPLMs\/Tc8zMJwbJzI\/AAAAAAAAATM\/js0YXWGfEh0\/s640\/Server+User+Settings+-+WebApp.png\" border=\"0\" alt=\"\" width=\"640\" height=\"334\" \/><\/a><\/div>\n<p>And, of course, by <br \/>default it does not let you edit email address. Also, the settings are in User <br \/>Profile regardless of whether User Profile Synchronization is configured:<\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-IA79950dfQg\/Tc80C6WVJrI\/AAAAAAAAATU\/B1hLinM7hFg\/s1600\/Server+No+Profile+Sync.png\"><img loading=\"lazy\" src=\"http:\/\/4.bp.blogspot.com\/-IA79950dfQg\/Tc80C6WVJrI\/AAAAAAAAATU\/B1hLinM7hFg\/s640\/Server+No+Profile+Sync.png\" border=\"0\" alt=\"\" width=\"640\" height=\"332\" \/><\/a><\/div>\n<p>Disassociating a web <br \/>application from User Profile Service does not seem to change the My Settings <br \/>page. However, Central Administration does not seem to use UPS anyway:<\/p>\n<div><a href=\"http:\/\/1.bp.blogspot.com\/-u_QH80GhQs0\/Tc8zVSmvyRI\/AAAAAAAAATQ\/9dac84E4vEM\/s1600\/Server+User+Settings+-+CA.png\"><img loading=\"lazy\" src=\"http:\/\/1.bp.blogspot.com\/-u_QH80GhQs0\/Tc8zVSmvyRI\/AAAAAAAAATQ\/9dac84E4vEM\/s640\/Server+User+Settings+-+CA.png\" border=\"0\" alt=\"\" width=\"640\" height=\"330\" \/><\/a><\/div>\n<p>Now, if you allow users <br \/>to edit their email address on Central Admin\/Application Management\/Manage <br \/>Service Applications\/User Profile Service\/Manage User Properties:<\/p>\n<div><a href=\"http:\/\/1.bp.blogspot.com\/-qaTC7yNH1CA\/Tc87Zn7tLbI\/AAAAAAAAATY\/uQURsX010hI\/s1600\/Server+Work+Email+Property.png\"><img loading=\"lazy\" src=\"http:\/\/1.bp.blogspot.com\/-qaTC7yNH1CA\/Tc87Zn7tLbI\/AAAAAAAAATY\/uQURsX010hI\/s640\/Server+Work+Email+Property.png\" border=\"0\" alt=\"\" width=\"640\" height=\"432\" \/><\/a><\/div>\n<p>Then users will be able <br \/>to edit their email on their profile page. However, once they edit it, it does <br \/>not immediately appear on My Settings page and attempting to set up Alerts will <br \/>still result in &#8220;You do not have an e-mail address.\u00a0 Alert has been created <br \/>successfully but you will not receive notifications until valid e-mail or mobile <br \/>address has been provided in your profile.&#8221; error message. To propagate it from <br \/>User Profile to each individual web application:<br \/>&#8211; Make sure User Profile <br \/>Synchronization Service is running<br \/>&#8211; Make sure the sync of user profiles to <br \/>Active Directory is finished (Note: I need to test what&#8217;s happening on a clean <br \/>install)<br \/>&#8211; Either wait for it to run as scheduled (hourly by default) or <br \/>force to run &#8220;User Profile Service Application &#8211; User Profile to SharePoint Full <br \/>Synchronization&#8221; timer job.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Specifying users&#8217; email in Sharepoint 2010 How to deal with\u00a0 &#8220;You do not have an e-mail address.\u00a0 Alert has been created successfully but you will not receive notifications until valid e-mail or mobile address has been provided in your profile.&#8221; error message.Long story short:In Foundation just add the email address on the My Settings page.In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,1],"tags":[],"_links":{"self":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1441"}],"collection":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1441"}],"version-history":[{"count":0,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1441\/revisions"}],"wp:attachment":[{"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}