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

Article translations Article translations
Article ID: 943937 - View products that this article applies to.
Expand all | Collapse all

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:
Description of Update Rollup 1 for Exchange Server 2007 Service Pack 1
For more information about how to install the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007
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: February 29, 2008 - Revision: 1.3
APPLIES TO
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbbug kbfix kbqfe kbhotfixrollup kbhotfixserver KB943937

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com