Re: Unable to set emailAddress of a PublicFolder using Set-MailPub
So you are running the V2 CTP of powershell on a production system?
I use Powerhell version 1 on my local machine, and installed the Exchange
Shell, and EMC on my local machine, and have no problem managing my E2K7
servers.
Hello Cyber,
> Hi there,
> Thanx a lot for your reply Karl but it seems to me that it
> is no
> an issue regarding Active Directory processing or replications bcoz
> 1. I have installed all things on 1 test server, means this
> single
> system is DC of AD, this also contains Exchange 2K7 SP1.
> 2. I m running my application through Remoting technology of
> .Net,
> but when I test Mail-Enabling a PF locally (without Remoting) then all
> is
> going well. There is no error. But error is occuring only when I m
> trying to
> call Mail-EnablePF() method from Remoting. As you know For accessing
> Exchange
> if we use Remoting then we dont have the need of "Impersonation".
> Except this
> error all is going well. Even the target pblic folder is mail-enbaled
> but
> When I try to modify its email address using
> Set-MailPublicFolder Cmdlet then this nasty error is occuring. Also I
> tried
> to mail-enable a PF (through Remoting) today which I created
> yesterday, but
> same error is occuring today. I restarted my PC and all the services
> involved.
> "Karl Mitschke" wrote:
>
>> Hello Cyber,
>>
>>> Hi there,
>>> I am facing a very strange problem on my E2K7 server
>>> While
>>> updating EmailAddress of a Public Folder after mail-enabling it
>>> programatically.
>>> I first call Enable-MailPublicFolder cmdlet for a newly created PF
>>> from my application, which succeeds.
>>>
>>> Immediately I call Set-MailPublicFolder for setting email address
>>> of my choice but this returns me the error
>>>
>>> The Active Directory proxy object for the public folder '\SalesPF'
>>> is being generated. Please try again later.
>>>
>>> [ Before it I do disable EmailAddressPolicyEnabled by calling
>>> Set-MailPublicFolder]
>>>
>>> I also turned ON all the exchange services before doing this
>>> process.
>>> I am not able to understand this error, Plz let me know the solution
>>> if
>>> someone knows.
>>> best regards,
>>> Cyber Friend
>> Sounds to me like you need to wait for AD to finish processing and
>> updating, and replicating if needed.
>>
>> Karl
>>
date: Thu, 14 Feb 2008 14:52:28 +0000 (UTC)
author: Karl Mitschke