Avatar of ThatSharepointGuy
ThatSharepointGuy
Flag for Japan asked on

SharePoint 2010 - Alerts "Delivery Method" not display correct email address

Greetings!

One of my users is trying to set up an alert on a document library, however when going to the document library and selecting "Alert Me", the "New Alert" window shows up.  Yet when it shows up, the "Delivery Method" area which says "Send me alerts by: Email" is wrong.  

It displays the email as "John.doe2@gmail.com", when it should be "john.doe1@gmail.com".

Some more information on this is that the controlling authority for our domain required this individual to change their email address and active directory account to "john.doe1@gmail.com" from "john.doe2@gmail.com" about a month ago.  So the "john.doe2" WAS valid at one point, but now it is "john.doe1".

Active directory displays the login name correctly.  Exchange shows the email address correctly.  SharePoint displays the "john.doe1" correctly on the user's profile page.  

When I go into a group in which the user is a member of, put a checkbox next to the user's name, and select Actions > Send Email, my Outlook opens and the "john.doe1@gmail.com" address is populated in the To: field.  This is CORRECT.

However, on the Delivery Method option for creating an alert, it still shows "john.doe2@gmail.com".

I've performed a full sync with Active Directory, yet the user's information remains the same.

Does anyone have any information on how to resolve this issue?  So far it seems like only the Alerts windows show the old address, but I'm wondering - where is it pulling this address from?  It makes no sense if the SharePoint account iN People's and Groups has the correct email address when you say to "Send Email To User" or even check the user's profile page to ensure the correct domain\login name.

Any ideas?
Microsoft SharePointExchangeMicrosoft PowerPoint

Avatar of undefined
Last Comment
ThatSharepointGuy

8/22/2022 - Mon
KoenVosters

Hi,

is this behavior happening when you are trying to create new alerts? I know that the email address is saved into the database when the alert is created and I doubt the user profile import updates the alerts as well. So that the old alerts are still pointing to the old emailaddress that is behavior that I might expect.
ThatSharepointGuy

ASKER
I believe it is happening when they are attempting to create new alerts, but I will double check with the user and get a definitive answer for you.  If it's an OLD alert that's still showing the E-Mail address...then yes, I can see how that would make sense.  Silly me for not even thinking of it!  I'll reply back soon!
ThatSharepointGuy

ASKER
Here is a screenshot that I was given.  Notice how the domain name is correct, but the email address for the alert is incorrect.  The email address to use for the alert, even on a new alert, is NOT able to be edited...so not quite sure how to change it.

I also went to Central Administration > Application Management > Manage Service Applications > User Profile Service Application (click Manage) > Manage User Profiles (under the "People" category) and searched for the user's name.
(url for this page is: http://central_admin_site:99999/_layouts/ProfMngr.aspx?ConsoleView=Active&ProfileType=User&ApplicationID=3ea844a2%2D096c%2D4a72%2Dbcd8%2De8ae5b8dc724)

When I search for "john.doe2" nothing shows up.  When I search for "john.doe1", the account does show up (this is good).

However, the "Work E-Mail" field on the "edit this profile" page was blank, so I put in "john.doe1@gmail.com" and saved it...then I had the user try again, and it did NOT affect anything.


All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ThatSharepointGuy

ASKER
Well, I added the user to a test site collection that I use to "fool around" with features and whatnot when I don't know what they do.

I gave this person access to the site, the same access she has on her home site (Member).  He was able to get into a list, set an alert, and the alert panel listed the CORRECT email address (john.doe1@gmail.com).

So, we tested this on multiple site collections....same result.

Why is only ONE site collection pulling the wrong email address, and where is it being pulled from?  On the home site collection for this user, the email address for any new alerts he tries to create is "john.doe2@gmail.com"...not "john.doe1@gmail.com".  

I don't understand why this is happening, and there's nothing in the logs even remotely related to this.

Anyone have any ideas?  
ASKER CERTIFIED SOLUTION
KoenVosters

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ThatSharepointGuy

ASKER
Koen,

Thanks, that did it.  When I deleted the user's profile, I did not realize that this did not delete the user account within SharePoint as well.

What I did was went to the user account (the link to the user account within a group's membership listing), but this only took me to the user's profile page.

I went to Central Administration > Application Management > Services On Server > User Profile Service > User Profile Management > searched for the account and it came up.  I deleted the profile there.

Then I went back to the group membership that had the account listed, and click the link on it's name, which took me to the user account administration page.  A tthe top of this it had "Delete User From Site Collection".

Had the user open a new browser and log back in...everything worked fine after that.


I don't know why it was retaining old account data...that's very strange.  

And as reprocussions for deleting the user from the site collection, apparently it has no impact on other site collections.  I test it out...it only removed the user from the groups that it belonged in, 1in THAT specific site collection.

Good work ;-)  Just wish I could explain it!
KoenVosters

I can explain it for you. Each site collection has its own user store. The users that have opened that site collection are stored there as well when they got the appropriate rights. The user profile service has nothing to do with the rights management. It provides the user profile page and the mysites.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ThatSharepointGuy

ASKER
Oh!  
Thanks Koen!  

Love your site, by the way ;-)