An application cannot impersonate a user and then run Windows PowerShell commands in an Exchange Server 2007 environment

This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
When an application tries to impersonate a user programmatically and then run Windows PowerShell commands in a Microsoft Exchange Server 2007 environment, Exchange Server 2007 blocks the call.
RESOLUTION
To resolve this problem, install Update Rollup 1 for Exchange Server 2007 Service Pack 1. For more information about Update Rollup 1 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to install the latest Exchange service pack or update rollup, see the following Exchange Help topic:Note For the impersonation to work, the -DomainController switch must be used in the Windows PowerShell command option. The -DomainController switch is available only after Exchange Server 2007 SP1 is installed.
WORKAROUND
To work around this problem, create a new process that has the necessary credentials. Then, run the Windows PowerShell command in the new process.
MORE INFORMATION
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
For more information about the naming schema for Exchange Server software updates, click the following article number to view the article in the Microsoft Knowledge Base:
817903 New naming schema for Exchange Server software update packages
Properties

Article ID: 943937 - Last Review: 01/16/2015 02:34:05 - Revision: 1.3

  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbqfe kbhotfixrollup kbhotfixserver KB943937
Feedback