user3403253
user3403253

Reputation: 21

Log in as a different user failed

I have many Users that i use to log in into the CRM (User1,User2,...) and they all are admins, the problem is whenever i need to login as a different User (Lets say i already logged in as User1 and i need to switch to User2) it always open the CRM as User1, no matter what User you tried to use to login, its like the browser cached the Username and its Password.

I already tried many ways to switch users like 1-open IE as a different user 2-make it as trusted site and select "Prompt for username and password" option from security tab which located in the "internet options" 3-used a separate browsers.

Note: the CRM i use is on-premises and not IFD.

Am confused and don't know what to do, Any idea how to fix this problem.

Upvotes: 2

Views: 1173

Answers (3)

nozzleman
nozzleman

Reputation: 9649

I know i get here pretty late...

...however i was just wondering the same and the solutions provided here and elsewhere on the web didn't solve the issue for me either. So this is what I came up with.

I created shortcuts for all users I need for testing etc. The process looks like this:

  1. Create a new shortcut in a folder of your choice
  2. In the location field paste a command applying the following scheme* (replacing the fat parts, make sure to keep the quotes):

%windir%\System32\runas.exe /netonly /user:username@domain"%programfiles%\Internet Explorer\iexplore.exe URL/OF/YOUR/ORGANIZATION"

  1. Save the shortcut
  2. Make the Shortcut open as an administrator everytime:
    Properties-Window of your shortcut → Shortcut-Tab → Advanced... → Check Run as Administrator

* The /netonly flag might not be neccesary depending on your setup

Upvotes: 0

AdamV
AdamV

Reputation: 1467

I would always do one of the following to log on as more than one user at once:

  • use a separate browser
  • use InPrivate browsing to open a second window of the browser but ignore the cookies that cause the problem you describe
  • use RunAs to run the same browser as a different user (ideal for on-premises where you have separate AD accounts that relate to admin, testuser etc)

Upvotes: 4

Dot_NET Pro
Dot_NET Pro

Reputation: 2123

  1. Open Internet Options.

    1. Select the Security tab.

    2. Click Custom level…

    3. Scroll all the way to the bottom and select Prompt for user name and password. Click OK.

    4. Click OK again.

    5. Close Internet Explorer all open Windows.

  2. Hold on shift key and right click on Internet Explorer.
  3. Click on Run as different User.

enter image description here

Upvotes: 1

Related Questions