We have upgraded to TFS 2017, and any user attempting to create alerts under the "My Alert" section receives an error when clicking OK after the alert setting have been selected.
The error is:
"Failed to save one or more alerts:
A subscription for e-mail delivery requires a valid e-mail address.
Parameter name: preferences"
Others have seen this same issue, see this thread:
Added a solution by Mireille Hanna · Feb 17 at 03:17 PM
The problem could be that the user does not have email address set and confirmed in their profile. To fix it, they need to go to their profile page, set an email address, they will get a confirmation email, they need to follow the instructions in that email so that the address they set becomes confirmed. Please let us know if this does not fix the problem.
The problem could be that the user does not have email address set in their profile. They can go to their profile page and set and email address then they will get a confirmation email, they need to follow the instructions in that email. please let us know if this did not fix the problem.
Added a solution by Philipp Finkel · Mar 17 at 09:50 AM
I think i have found a workaround to this:
It seems, TFS validates if there is an valid email address by getting it form the ActiveDirectory User account. If there is no, you get the mentioned error message. As i do not know all of the email addresses for the AD User Accounts, i just added a fake one to every User who wants to user TFS Alerts.
I'm not exactly sure, when TFS triggers the sync with AD Identities including the Email Address, but on the normal, hourly synchronization job it wont get updated. I tested this with a tool by Neno Loje (http://blogs.msmvps.com/vstsblog/2011/02/17/force-tfs-to-sync-with-active-directory/) and the field MailAddress in the SQL Table tbl_identity remained empty all the time.
I finally got the Email Address synced with the following steps:
- Set Email Adress in AD User Account
- Remove AD User from AD Usergroup --> wait for sync or force sync with tool mentioned above
- Add AD User to AD Usergroup --> sync again
Still, i think this is a Bug which needs to be resolved by MS.
Hope this helps...
Cannot add TFS server group to Access Level
Unable to add a gMSA to any Security Group
Tfs 2017.1 web access broken
Can't use Global release variable in RM