I have a build service setup within TFS and I have a special AD user set as the user to run the service. When I enter the credentials for that user within the TFS Admin Console, everything works fine. For some reason, after so long (not sure how long yet) the Build Service stops running. When I look into the issue, it is because the password is blank. Any ideas why this would be getting cleared out? If I put the password back in, everything will work fine until is clears out again.
Is the account a member of the local administrators group? There could be a group policy within AD that removes Log on as Service rights from such accounts on restart. See this for an example
Related
I created a Twins instance and got a basic example up and running. A few days go by and I launch the Twins Explorer from my dashboard in Azure Portal. The Single Sign on lets me sign on using my Microsoft Account and upon logging in it states:
Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '856....' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.
How can I resolve this?
Successful Login After Host Popup with No Changes
As of the writing of this message, and after previous failed attempts, the Twins Dashboard (no settings changed mind you), on the last attempt the Enter Host popup was preseented to me. I was allowed to re-add my host and it worked.
I am running Jenkins within Tomcat 7.
I want to log in and operate Jenkins securely over the web.
I set up an admin user and password. Logging in with these credentials works fine initially.
Then, after a while, I try to log in but submitting my login request just sends me back to the login screen (but without the "Invalid login information. Please try again." message).
I have to hack around it by disabling security in config.xml, and re-enabling it via the "Configure Global Security" page. I've tried two different Security Realms: "Jenkins’ own user database" and "Unix user/group database". They both work initially then eventually fail.
When I setup TFS for the first time, I usually use the TFSSetup account, and with this account going to login for the first time.
How to login as a different user?
How to check who the current user is?
Checkout a file in Source Control Explorer and user column it will show your username with which you are connected to TFS.
If you want to connect TFS using other credentials, then add the address of your TFS server and the credentials in Credentials Manager(Control Panel->User Accounts->Credential Manager). The next time you try to access TFS, these credentials will be used.
Clear the user's credentials in the Credential Manager. This will then bring back the Authentication Window when trying to connect to TFS.
Another approach you can take that worked for me, was to log into the web interface for TFS, then use that to log in as another user. So, navigate to:
http://yourtfshost:8080/collection/web/ (or whatever your web address is)..
Then, click on your name in the corner and select "sign in as a different user."
Essentially, this does the same thing as the above suggestions. It simply replaces your credentials in credential manager with the correct ones.
I setup TFS today on my machine and whenever I try to go to the web access it keeps asking me for a username and password. It also prompts me for one when I try to administer security in the application tier.
I didn't select a username and password when I set this up and I tried my machines username and password but it won't work. To top it off, my machine does not have a password and it keeps telling me i have to enter a password.
Is there a default password or login that I need to know about?
I'm having a similar problem in Windows 8. I was unable to get it to work in Chrome (my default browser) but I was able to sign in through IE 10 using the same Live ID credentials used to log into the PC.
TFS only works with accounts that have a password.
Also, TFS only works with domain accounts, not machine accounts.
I have an application that is running as window service and its running under a valid use account not under default system account ,now my worry is if in future use changes his password for that account will it effect this service??
Thanks
The service will stop working as the user credentials don't match.
Yes.
The password you enter in the service properties must be changed of the user changes his password, so it's a bad idea to run a service under a real live user account.
You can either set it to run on a system account, and grant that account the necessary resources for the service to function, or you can create a pseudo-system account - a user account that is restricted from everything else, except from the service resources.
Yes, if the password is changed for the user account, you need to update the stored password as well.
And to make this answer more programming related, this MSDN article shows you how to do it programmatically: Changing the Password on a Service's User Account