web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Impersonating a user for testing

(0) ShareShare
ReportReport
Posted on by 95

If I wanted to impersonate a user so I see what they see, for testing purposes is there a way to do that. I currently setup my security as the person but I'd like to test more directly by impersonating.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Impersonating a user for testing

    If you are talking about internally using the web application, then unless you have the user's username and password, you will not only be able to do this. Using SDK code you can impersonate another user (in plugins or other service applications).

    The best option is as you already did, set your user account to have the exact same privileges as the user in question, but it is not full proof, as there still might differences. Also make sure you and the other user are in the same business unit and teams and this affects the testing as well.

    Ideally, if you have test accounts, you can use them as users in the different business units/teams.

  • Community Member Profile Picture
    on at
    RE: Impersonating a user for testing

    Your options sort of depend on how many license you are willing to commit to use for testing purposes and how your user are validated when logging in.   We use a single placeholder Admin license and change its Business Unit, Security Roles, etc. as needed for testing. Trying to impersonate an actual user without having their username and password would be pretty tough.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans