Skip to main content

Notifications

Microsoft Dynamics CRM forum

Impersonating a user for testing

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

  • Community Member Profile Picture
    Community Member Microsoft Employee 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.

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 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.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans