locked
TFS 2012 Backups Failing and e-mailing random people RRS feed

  • Question

  • Hello.  My TFS backups began to fail after upgrading to TFS 2012.  I reconfigured them and was still receiving e-mails.  I didn't worry too much about it because I knew I had good backups and will address it after the weekend upgrade.  HOWEVER, I started getting calls from IT admins and others saying they've been receiving hourly failure notifications of TFS servers they'd never heard of.

    I have two application tier servers.  Both were sending out failure notifications.  That is the first problem. 

    When I look at the configuration for this backup process, I see that there are no longer custom e-mail addresses available on the alerts settings page of the Scheduled Backups Wizard.  There is now just two checkboxes:
    1. Send email to TFS Administrators if a backup job fails
    2. Send email to TFS Administrators when a backup job succeeds.

    The first checkbox is checked.  Here is my question:

    Who Receives the failures in this scenario?  Is it the TFS Administration Console Users who it's referencing in item #1 above?  Is it the global TFS admins, and if that is the case how do I access that list?

    Thanks,

    Joe

    Monday, July 29, 2013 1:20 PM

Answers

  • Hi Joe, 

    Thanks for your post.

    What’s the detailed version of your TFS 2012? TFS 2012 Update 3?

    For the backup failed issue: do you mean that although you have recreated Backup Plan in TFS 2012 Admin Console, but the backup process will still fail? If yes, what’s the backup error log you received? Please share the error log here.

    Yes, as you said, there’s no the custom e-mail address available in TFS 2012 Update 2(or Update 3) Admin Console>>Scheduled Backup feature, and there’s no default way to customize it, please refer to this User Voice and vote it. As far as I know the TFS Administrators mean the users in Team Foundation Administrators group, you can check this group in TFS Admin Console and check members in this group.


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, July 30, 2013 9:37 AM
    Moderator

All replies

  • Hi Joe, 

    Thanks for your post.

    What’s the detailed version of your TFS 2012? TFS 2012 Update 3?

    For the backup failed issue: do you mean that although you have recreated Backup Plan in TFS 2012 Admin Console, but the backup process will still fail? If yes, what’s the backup error log you received? Please share the error log here.

    Yes, as you said, there’s no the custom e-mail address available in TFS 2012 Update 2(or Update 3) Admin Console>>Scheduled Backup feature, and there’s no default way to customize it, please refer to this User Voice and vote it. As far as I know the TFS Administrators mean the users in Team Foundation Administrators group, you can check this group in TFS Admin Console and check members in this group.


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, July 30, 2013 9:37 AM
    Moderator
  • Thanks.  The most important thing here is not the failing backups.  The most important thing is that we cannot track who will receive failure notifications.  I will absolutely vote on that subject, but first I really really really need to stop the entire domain admins team from receiving failure notifications. 

    If I go into the TFS Admin console, there are TFS Admin Console users, and they do not contain the domain admins.  There is an Administer Security button on the Application Tier Summary section.  It lists the groups and their specific permissions, but there's no way to view the members of that group that I can find!  I can add groups or users to this list and create custom permission sets, but there is no way from here to view the members of that group.  This is the "Global Security" dialog window.

    I'm running TFS 2012 Update 3 (11.0.60610.1).

    Alternatively, I've attempted to locate this group and it's permissions in Web Access where a lot of other permissions are now set, but I cannot find that capability.  Only the collection-level permissions appear to be available.

    Again, I need a way to stop the domain admins list from getting failure notifications.

    Thanks,

    Joe

    Tuesday, July 30, 2013 12:22 PM
  • Hi Joe,

    Thanks for reply.

    Just give you a quickly response about how to view members in Team Foundation Administrators group: Launch TFS Admin Console>>Application Tier>>click Group Membership in the right panel.


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, July 30, 2013 12:51 PM
    Moderator
  • I still have the same issue with TFS 2013...

    I am using an administrator account to manage TFS: <domain>\tfsadmin.

    This account has no mailbox... 

    As a consequence, the Backup service seems to send the reports to the "closest" user email (from the alphabetic order point of view).

    How is TFS resolving the email addresses ???


    Valéry Letroye

    [EDIT] See my own answer lower in this thread.
    Tuesday, June 3, 2014 7:26 AM
  • Same issue here. Please inform us about the way TFS is resolving the e-mail addresses to use when sending these notification e-mails. Changing the e-mail address in the Profile in Web Access doesn't seem to help either.

    Although all of our 3 admins have no e-mail address in AD, two of them are receiving e-mails, one of them isn't receiving e-mails, but another user, who is not an admin, is receiving e-mails...


    ALM/TFS Consultant, Software Developer C#.NET, SQL Server specialist at Delta-N BV (http://www.delta-n.nl)

    Tuesday, July 1, 2014 11:14 AM
  • As a consequence, the Backup service seems to send the reports

    to the "closest" user email (from the alphabetic order point of view).

    I have finally decided to investigate further my issue with the help of our Exchange administration team... First, I did set a valid email for the account "tfsadmin"... but it didn't solve the problem... Finally, I found that TFS was not sending alerts to the closest user email, but to someone apparently NOT in the list of "Administration Console Users" (It used to be the case with TFS 2010 ?!).

    Actually, the TFS 2013's backup service is sending alerts to the predefined group "[TEAM FOUNDATION]\Team Foundation Administrators"... a group that includes all users added as "Administration Console Users".

    This group includes other groups which, here, include various technical accounts. One of those accounts is used to run SharePoint and the email of that technical account was set with the email of a guy who used to be in charge of the SharePoint servers 10 years ago...

     

    We have removed that email from the technical account and we have no problem anymore. But we still didn't find via which sub-groups it was concretelly included into the "Team Foundation Administrators" ?!

    Here is info I found about that (and how to possibly change the email addresses): All users which are in the predefined Group [TEAM FOUNDATION]\Team Foundation Administrators get alert emails. Users can be added to this group via the TFS Administration Console. To set the mail adress for a user, one must log in to TFS Web Access as a this user, and set the 'preferred email adress' via 'My Profile'.

    R.


    Valéry Letroye

    • Proposed as answer by Fokko Veegens Tuesday, July 1, 2014 12:10 PM
    Tuesday, July 1, 2014 11:35 AM
  • Actually, the TFS 2013's backup service is sending alerts to the predefined group "[TEAM FOUNDATION]\Team Foundation Administrators"... a group that includes all users added as "Administration Console Users".


    The above section helped me out, thanks a lot!

    ALM/TFS Consultant, Software Developer C#.NET, SQL Server specialist at Delta-N BV (http://www.delta-n.nl)

    Tuesday, July 1, 2014 12:10 PM
  • I have same problem but in my case its sending emails out to users not added to any group of TFS. I have disabled the alerts for now but anyone have any idea if it’s a known issue?


    Syed Hassan Abbas

    Monday, April 13, 2015 11:30 AM
  • In our case the user was actually admin of the server where TFS was installed and whole admin group is by default also admins of TFS.

    greetz

    Tuesday, June 7, 2016 8:13 AM