TFS Impersonation as its name suggests impersonates the user to TFS, using functionality that is built into TFS itself. The benefits of this approach is that the user only has access to functionality in TFS that has been granted to them in TFS, including projects and data. TFS Impersonation is the recommended approach for a StandAlone SenseAdapt Server where you wish to restrict user access to the ACLs that have been setup in TFS.


In order for this to happen the following needs to take place

ApplicationPoolSettingsImpersonation.png



SenseAdaptAuthStandAlone.PNG


Setting a TFS user up to make requests on Behalf of users

In TFS you will need to assign the permission "Make requests on behalf of others", this can be done from within the control panel in TFS for the designtaed user (the user used in the app pool identity mentioned above). This setting must be set to "Allow" . The user should have elivated rights comparable to a service account.


Allow.PNG


If you get the error below it is usually an indicator that TFS Impersonation was not setup or it was applied to the wrong account. Ensure the Make Request on behalf of others is applied to the correct account in TFS and that this is also the account the application pool is running under in SesnseAdapt.

TFS30063.PNG