Why won't my SharePoint site give me the option to sign in as another user when I go to the site?

Tevon2.0 1,106 Reputation points
2023-02-08T21:53:40.31+00:00

SharePoint Server 2019 On Premise

Even when I sign out as the system account, the site will not give me the option to sign in as another user. This creates an issue as the admin who often needs to log in with test user accounts.

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-02-09T01:43:38.2633333+00:00

    Hi @Tevon2.0 ,

    Due to security/caching problems, SharePoint 2019 does not have an option to set Sign-in as Different User. But as a workaround, you can use the browser's private mode to open the site URL, which will ask you to re-enter the login account. This solves the problem of you needing to log into the test account frequently.

    User's image

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-02-10T02:38:32.8966667+00:00

    Hi @Tevon2.0 ,

    I couldn't reproduce what you said, if you don't want to use private mode to re-login to another account, you might try Sign In As Different User, With Redirect.

    http://yourservername/_layouts/closeConnection.aspx?loginasanotheruser=true**&source=<url>**

    For example, my site url is http://sp19/sites/xyza19 , and my redirected login page url is:

    http://sp19/sites/xyza19**/_layouts/closeConnection.aspx?loginasanotheruser=true&source=**http://sp19/sites/xyza19/SitePages/Home.aspx

    You can load this redirect url into your browser favorites and click it when you need to switch accounts.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.