Public Folders Email Copy
Hello, I am looking for a exchange powershell command or batch/script file that I could run that I could use to copy emails from the public folders to a windows shared folder. I am able to do this manually by going into the public folder and dragging the
email out and into the shared folder, the problem with this is it will be very time consuming to do. Below would be an example of the paths. As you will see we will have jobs all the way back to 2007.
Public Folder path
all public folders\jobs\2007\01920-00\c
Shared folder path
"\\ss2\inactive jobs\public folders email\2007\01920-00\c\"
Hi,
In Exchange server, there is no related command that can help us to copy emails from public folders to a shared folder. Maybe some scripts can help you achieve this goal, you can ask this question in Script forum, you might get better help there.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
If you only want to archive emails in public folders, you can try to export public folders using Outlook manually.
Best regards,
Belinda Ma
TechNet Community Support
Similar Messages
-
Outlook Quick Steps with Categorize function - Exchange server public folders
Is it possible to categorize an e-mail with a Quick Step with the right step order?
I mean If want to do the following:
copy to a public folder
make it read
mark it complete
categorize it
It will categorize the e-mail first (like it has a higher priority) and both the actual e-mail and the copied one will be 'flagged' with the category.
Is it possible to modify the quick step that way to do the categorize function after the copy function, so the copied one will not be categorized, only the original one.
All the e-mails are in public folders, so I copy the e-mail from a public folder to another one. All the public folders are on Exchange servers.
Please advise.
Thank you!Ah, no, you can't change that - the problem is that once it's move, the QS won't know which item is it, it adds the category first.
you can use something like this -
Sub MoveCopyMessage()
Dim objNS As Outlook.NameSpace
Dim objSourceFolder As Outlook.MAPIFolder
Dim objDestFolder As Outlook.MAPIFolder
Dim objItem As Outlook.MailItem
Dim objCopy As Outlook.MailItem
Set objNS = Application.GetNamespace("MAPI")
Set objSourceFolder = objNS.Folders("Public Folders -
[email protected]").Folders("All Public Folders").Folders("New")
Set objDestFolder = objNS.Folders("Public Folders -
[email protected]").Folders("All Public Folders").Folders("Old")
Set objItem = Application.ActiveExplorer.Selection.Item(1)
' copy and move first
Set objCopy = objItem.Copy
objCopy.Move objDestFolder
' then do whatever to original
With objItem
.UnRead = False
.MarkAsTask olMarkComplete
.Categories = "This Category"
.Save
End With
Set objSourceFolder = Nothing
Set objDestFolder = Nothing
Set objNS = Nothing
End Sub
Diane Poremsky [MVP - Outlook]
Outlook & Exchange Solutions Center
Outlook Tips
Subscribe to Exchange Messaging Outlook weekly newsletter -
We are in the process of trying to decommission our Exchange 2003 server, all of the replicas have been moved to the Exchange 2010 SP3 servers. However, each time we dismount the public folder store on the 2003 server (just to see what won't work) nobody
from outside the company can send mail to the mail-enabled public folders (we use these to communicate with vendors and customers).....they sit in the 2003 mail queue until I remount the store.
I have mail disabled them on the 2010 PF server, waited a few hours and then mail enabled them again. Same issue. Interesting to note is that when the PF store on the 2003 server is dismounted people inside
the company can still send to the mail-enabled PFs (which is good). I am stumped.
HDLHi,
There is similar issue in the below post.
https://social.technet.microsoft.com/Forums/exchange/en-US/20dc0f53-41c2-4275-a391-fd9b0907a7e1/after-move-all-replicas-to-exchange-2010-mail-enable-public-folder-stops-receiving-external-emails?forum=exchangesvrdeploylegacy -
I am using office 2010 on a windows 7 PC. In outlook I have changed the settings for the reading pane so that emails are not marked as read unless I actually open them. This is working for emails in my inbox and outbox but not for emails in public
folders. Emails in public folders are marked as read as soon as I click on them. Do public folders have a different setting for marking email as read in the reading pane?
It is important for me that emails in the public folders are not marked as read when i click on them as I need to read through hundreds of project emails in these folders and need to be able to distinguish between emails I have read and actioned
and emails I have just clicked on while searching for an email I need. This folder serves as an archive for my emails so i cant delete them once I have read them. I also don't have permission to label them or create tasks from them.Hi,
I tested in my lab, it worked for public folders. My Outlook version is Outlook 2013.
Please open Outlook in safe mode to check result.
If possible, please check if this issue persists from a different client server.
Best regards,
Belinda Ma
TechNet Community Support -
Migrating email-enabled public folders corrupted
We migrated our public folders from EX 2010 to 2013 but currently face 2 issues with the import:
a. All public folders/subfolders became email disabled - about 300 + folders
b. More importantly there is a mismatch between folder name and assigned smtp addess.
For example imported folder name is qa1 smtp associated with the folder is [email protected]
is there a powershell script we can run to fix these issues ?
alex serdyukovHi,
A. If you use serial migration to migrate public folders, then Mail-enabled public folders that are created after a public folder migration is started won't be mail-enabled in the destination organization. You'll need to manually mail-enable
these public folders manually when the migration is complete. This also applies to public folders that existed prior to migration starting, but were mail-enabled after migration started.
Refer from
https://technet.microsoft.com/en-us/library/jj150486(v=exchg.150).aspx
B. After these public folder are enabled, then check these mail-enabled public folders’ SMTP address.
If they are also mismatched, please check if the emailaddresspolicy is assigned to them with the following command
Get-MailPuclicFolder “PF path” | fl EmailAddressPolicyEnabled
If the value is true, then set this value to false and use the following command to correct them (or check email address policy)
$allPF = Get-MailPublicFolder -Resultsize unlimited
Foreach ($PF in $allPF)
{Set-MailPublicFolder -Identity $PF.identity -PrimarySmtpAddress ($PF.alias+’@company.com’)}
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support -
Public Folders Assistant not forwarding and replying to emails
Hi All,
We have an issues with our Public Folders Assistant not forwarding and replying to any emails. This was working with EX2007 for 6 years and EX2013 for the last year. All of the sudden all of the mail enabled PF stopped working. We can receive emails but
that is it. Can't find any event logs pertaining to this issue. We have not installed any Windows or Exchange updates prior to this happening. We use Office 2010 and 2013.
Windows 2012 r2
Exchange 2013 CU6
Thanks
MarkHi,
Do you have public folders in Exchange 2007?
In Exchange 2007, you can increase logging level for "MSExchangeIS\9001 Public\Rules" to a higher level. In Exchange 2013, this event is removed.
Besides, please try to change the conditions for public folder assistant rule to check result.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support -
Public Folders Assistant not forwarding emails
Hi All, I know this issue has come up plenty of times, but after a week of research I still can't get it fixed.
The problem is this, I have created a test email enabled public folder (hosted on exchange 2010). I have owner rights and send as rights (both tested and working) to the folder. In Outlook 2010 I have successfully created and
public folder assistant rule to forward all emails to a different
internal address. The public folder receives emails fine, but the incoming emails never get forwarded. No NDR's, no event logs, nothing :(
To try and fix this have:
created a transport rule for the test public folder email address. This works perfectly, but I want end users to manage the rule so not a suitable solution.
Enabled "Allow automatic replies" and "Allow automatic forward" options in the default (and only) domain in Hub Transport > Remote domain and restarted all exchange servers. I assume however, that is only meant for auto replies
and forwards going externally.
Checked ADSI edit for any legacy exchange servers (this is fresh install so grasping at straws here):http://blog.samkendall.net/2010/09/07/exchange-2007-to-2010-migration-public-folder-issue-fix/
I have now run out of ideas, so any help would be gratefully received!
Thanks,
Ed.Hi Belinda, thank you very much for your response.
Unfortunately we have done all you suggested in your post except turn the public folder logging on, can you please tell me where that is, I couldn't find it.
Get-public folder result:
[PS] C:\Windows\system32>get-publicfolder -identity "\test-ed" | format-list
RunspaceId : 4eef53ff-5b0b-445a-b91a-2a0ef61c3da2
AgeLimit :
EformsLocaleId :
EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030017F574DB29
190000
HasSubFolders : False
HiddenFromAddressListsEnabled : False
IssueWarningQuota :
LocalReplicaAgeLimit :
MailEnabled : True
MaxItemSize :
Name : test-ed
ParentPath : \
PerUserReadStateEnabled : True
ProhibitPostQuota :
Replicas : {PF01}
ReplicationSchedule : {}
RetainDeletedItemsFor :
UseDatabaseAgeDefaults : True
UseDatabaseQuotaDefaults : True
UseDatabaseReplicationSchedule : True
UseDatabaseRetentionDefaults : True
FolderType :
HasRules : True
HasModerator : False
Identity : \test-ed
MapiIdentity : \test-ed
OriginatingServer : s0vlexcmb01.universe.local
IsValid : True
There is nothing in the application log that points to this issue
The above example is from a test public folder I have created (I have created a few tests now, all have the same problem).
The Outlook rule I created is exactly the same as the example you gave, and I did get the message saying it would work for all emails.
I am really banging my head with this one now!
Ed. -
We've added two 2013 hybrid servers to our existing 2010 environment. Added the CAS role to all 2010 mailbox servers per ( https://technet.microsoft.com/en-us/library/dn249373%28v=exchg.150%29.aspx ) and currently have public folders (located on our
2010 mailbox servers) working in Outlook client for users whose mailboxes have been migrated from on-prem 2010 to o365. The problem is when we create a new user in o365, that user CAN see that we have public folders via Outlook client, but when we expand
the public folder list a credential window pops up and will not accept any set of credentials (even those of working hybrid migrated accounts).
We are following this method when creating new o365 accounts:
1) Make a user in AD
2) Dirsync the user
3) License the user for exchange
4) Run on on-prem mailbox server via Exchange Management Shell: Enable-RemoteMailbox "[email protected]" -RemoteRoutingAddress "[email protected]"
5) In o365 Remote Exchange Powershell run: Get-Mailbox -identity "[email protected]" |fl Identity,ExchangeGUID
6) Copy ExchangeGUID
7) Back on on-prem mailbox server via Exchange Management Shell: Set-RemoteMailbox "[email protected]" -ExchangeGUID <paste GUID here>
8) Dirsync the user again
I've compared two Remote User Mailboxes, ones that were migrated via Hybrid, and ones that were created in o365 and the settings look identical outside of the attribute "RemoteRecipientType" is set to Migrated vs ProvisionMailbox. I'm not
sure what else the difference in these accounts could possibly be that would be causing this credential failure.
Any thoughts would be appreciated.Hi,
Please do the following steps to create an Exchange Online mailbox in your Hybrid environment:
Method 1: Create a remote mailbox for an existing user.
If you already have created a user in Active Directory, and the user has already been synced to online with license, we can give that user a mailbox in Exchange Online by using the Exchange Management Shell cmdlet Enable-RemoteMailbox on
your on-premise Exchange server:
Get-User “User1” | Enable-RemoteMailbox
Then the mailbox is enabled with an Exchange Online mailbox. We can check the mailbox by running the following command in On-premise Exchange server:
Get-RemoteMailbox “Test1” | FL *address*
Method 2: Directly create a new remote mailbox.
1. Create the remote mailbox in On-premise Exchange server by running:
$Credentials = Get-Credential
New-RemoteMailbox -Name "Test2" -Password $Credentials.Password -UserPrincipalName
[email protected]
2. Launch dirsync and assign a license to the newly created user with Office 365 account.
Then Test2 can sign in, using his on premises credentials, and open his online mailbox.
For more information about the remote mailbox, please refer to:
http://blogs.technet.com/b/ilvancri/archive/2011/08/24/exchange-online-exchange-on-premises-shared-namespace-how-about-mail-routing.aspx
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Winnie Liang
TechNet Community Support -
Exchange 2010 - visibility of items in Public Folders
Hello all,
I already posted this question to the German Exchange 2010 forum, but have not gotten an answer yet. So I hope to be more lucky in the English forum.
Environment: Exchange 2010 SP3 RU4, 2 replicas for Public Folders, Outlook 2007 cache Mode
Problem:
Some of our users have a phenomenon when working with mail enabled Public Folders:
User has the focus set to Public Folder A, an email is sent there (and correctly delivered) but remains invisible to the user. When he changes the focus to point to his inbox or to Public Folder B and directly changes back to folder A he can see the email.
Other users can see the email directly on delivery without leaving the folder first.
When an affected user adds Public Folder A to his Public Folder Favorites he can see that an email is delivered from the change in numbers of unread mails (number in brackets behind folder name).
I already checked the Exchange server to see if there is a replication related problem (though the default Public Folder DB is the same for all mailbox databases). Even after a successful replication an effected user does not see the email unless he leaves
the folder and re-opens it.
As the problem does not affect all users having permissions to this folder I picked one affected user and tried to remedy the issue as follows:
- deleted the existing Outlook profile and re-created it => without success
- deleted the user profile and re-created it => without success
We use Outlook Cache Mode (set by policy, so the user cannot deactivate it) but there is no Public Folder data downloaded.
When I create a new mail enabled Public Folder to test the scenario with an affected user everything works without problems, he can see an email on delivery.
As far as I know this problem occurs with only two folders (and for both folders only a few users are affected - different users for each folder) I do not know what else to do. Can someone please give me a hint where to look at? Thanks in advance.
Kind regards,
KlausThe user is caching the public folder. When he changes the focus and goes back, it tells Outlook to update. In my experience, I've seen that Outlook only gets the update notices for the primary mailbox, so cached shared mailboxes are generally
rarely updated. We have stopped caching shared mailboxes for this reason and others. Think of the following scenario:
Ten different users perform actions on items in a shared mailbox
When they first get the message, they move it to a subfolder in the mailbox (so it won't be there for other users)
Since users are working in Cached mode, they will see an out-of-date image of the mailbox - they will move the item in their copy of the mailbox, but that won't be reflected in the other mailboxes until their copy updates to the server, then the server updates
the other copies. Talk about being lagged ... -
2007 SP3 to 2013 Migration - Public Folders Migration (-2147467259)
Hi Guys
I'm currently undertaking an Exchange 2007 SP3 to Exchange 2013 migration, and all has been going swimmingly so far. We've moved all mailboxes across and are at the final stages and just want to move the public folders across.
I've been following the instructions in: http://technet.microsoft.com/en-us/library/jj150486(v=exchg.150).aspx this article, and we have gotten up to stage 5 (Start
the Migration Request). The process gets around 20% of the way through, and from what we can tell seems to migrate all content from PF folders, however it then stops. I've posted an extract of the log below, which should show you the error we're
currently getting (it tries then exhausts retries & stops).
16/01/2014 9:13:15 AM [EX2013] Transient error MapiExceptionUnknownUser has
occurred. The system will retry (58/60).
16/01/2014 9:13:50 AM [EX2013] The Microsoft Exchange Mailbox Replication service
'EX2013.mydomain.local' (15.0.775.35 caps:3F) is examining the request.
16/01/2014 9:13:50 AM [EX2013] Connected to target mailbox
'db1f9a09-a4ab-435e-aedf-122095797a10', database 'Shared', Mailbox server
'EX2013.mydomain.local' Version 15.0 (Build 775.0), proxy server
'EX2013.mydomain.local' 15.0.775.35 caps:07FFCB07FFFF.
16/01/2014 9:13:50 AM [EX2013] Connected to source mailbox '', database
'EX05\Public Folders\Public Folders', Mailbox server 'ex05.mydomain.local' Version
8.3 (Build 327.0).
16/01/2014 9:13:50 AM [EX2013] Request processing continued, stage LoadingMessages.
16/01/2014 9:13:50 AM [EX2013] Copying messages is finished. Copying rules and
security descriptors.
16/01/2014 9:13:51 AM [EX2013] Transient error MapiExceptionUnknownUser has
occurred. The system will retry (59/60).
16/01/2014 9:14:25 AM [EX2013] The Microsoft Exchange Mailbox Replication service
'EX2013.mydomain.local' (15.0.775.35 caps:3F) is examining the request.
16/01/2014 9:14:25 AM [EX2013] Connected to target mailbox
'db1f9a09-a4ab-435e-aedf-122095797a10', database 'Shared', Mailbox server
'EX2013.mydomain.local' Version 15.0 (Build 775.0), proxy server
'EX2013.mydomain.local' 15.0.775.35 caps:07FFCB07FFFF.
16/01/2014 9:14:25 AM [EX2013] Connected to source mailbox '', database
'EX05\Public Folders\Public Folders', Mailbox server 'ex05.mydomain.local' Version
8.3 (Build 327.0).
16/01/2014 9:14:25 AM [EX2013] Request processing continued, stage LoadingMessages.
16/01/2014 9:14:25 AM [EX2013] Copying messages is finished. Copying rules and
security descriptors.
16/01/2014 9:14:25 AM [EX2013] Transient error MapiExceptionUnknownUser has
occurred. The system will retry (60/60).
16/01/2014 9:15:00 AM [EX2013] The Microsoft Exchange Mailbox Replication service
'EX2013.mydomain.local' (15.0.775.35 caps:3F) is examining the request.
16/01/2014 9:15:00 AM [EX2013] Connected to target mailbox
'db1f9a09-a4ab-435e-aedf-122095797a10', database 'Shared', Mailbox server
'EX2013.mydomain.local' Version 15.0 (Build 775.0), proxy server
'EX2013.mydomain.local' 15.0.775.35 caps:07FFCB07FFFF.
16/01/2014 9:15:00 AM [EX2013] Connected to source mailbox '', database
'EX05\Public Folders\Public Folders', Mailbox server 'ex05.mydomain.local' Version
8.3 (Build 327.0).
16/01/2014 9:15:00 AM [EX2013] Request processing continued, stage LoadingMessages.
16/01/2014 9:15:00 AM [EX2013] Copying messages is finished. Copying rules and
security descriptors.
16/01/2014 9:15:00 AM [EX2013] The job encountered too many transient failures (60)
and is quitting.
16/01/2014 9:15:00 AM [EX2013] Fatal error MapiExceptionUnknownUser has occurred.
Furthermore, in the event log, I get the following logged as the PF migration errors out:
Request '' (d0963f2b-9d8e-4470-924a-72749ca32a36) failed.
Error code: -2147467259
MapiExceptionUnknownUser: Unable to make connection to the server. (hr=0x80004005, ec=1003)
Diagnostic context:
Lid: 49064 dwParam: 0x1
Lid: 37288 StoreEc: 0x6AB
Lid: 49064 dwParam: 0x2
Lid: 49191 EMSMDBMT.EcDoConnectEx called [length=193]
Lid: 65063 EMSMDBMT.EcDoConnectEx exception [rpc_status=0x6D9][latency=0]
Lid: 62184
Lid: 16280 dwParam: 0x0 Msg: EEInfo: ComputerName: n/a
Lid: 8600 dwParam: 0x0 Msg: EEInfo: ProcessID: 4744
Lid: 12696 dwParam: 0x0 Msg: EEInfo: Generation Time: 0414-01-16T01:15:00.7170000Z
Lid: 10648 dwParam: 0x0 Msg: EEInfo: Generating component: 2
Lid: 14744 dwParam: 0x0 Msg: EEInfo: Status: 1753
Lid: 9624 dwParam: 0x0 Msg: EEInfo: Detection location: 501
Lid: 13720 dwParam: 0x0 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x0 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x0 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x0 Msg: EEInfo: prm[1]: Unicode string: EX06
Lid: 12952 dwParam: 0x0 Msg: EEInfo: prm[2]: Long val: 3749909585
Lid: 12952 dwParam: 0x0 Msg: EEInfo: prm[3]: Long val: 382312662
Lid: 45169 StoreEc: 0x824
Lid: 50544 ClientVersion: 15.0.775.34
Lid: 52080 StoreEc: 0x824
Lid: 44273
Lid: 49064 dwParam: 0x1
Lid: 37288 StoreEc: 0x6AB
Lid: 49064 dwParam: 0x2
Lid: 59431 EMSMDB.EcDoConnectEx called [length=193]
Lid: 34855 EMSMDB.EcDoConnectEx returned [ec=0x3EB][length=56][latency=15]
Lid: 59505 StoreEc: 0x3EB
Lid: 50544 ClientVersion: 15.0.775.34
Lid: 52080 StoreEc: 0x3EB
Lid: 1494 ---- Remote Context Beg ----
Lid: 22086
Lid: 27206
Lid: 17990
Lid: 16966 StoreEc: 0x8004010F
Lid: 32121 StoreEc: 0x3EB
Lid: 9486 StoreEc: 0x3EB
Lid: 1750 ---- Remote Context End ----
Lid: 51152
Lid: 52465 StoreEc: 0x3EB
Lid: 60065
Lid: 33777 StoreEc: 0x3EB
Lid: 59805
Lid: 52487 StoreEc: 0x3EB
Lid: 19778
Lid: 27970 StoreEc: 0x3EB
Lid: 17730
Lid: 25922 StoreEc: 0x3EB
Context:
Operation: ISourceMailbox.GetFolder
Operation: ISourceMailbox.GetFolder
OperationSide: Source
Public Folders ()
EntryIDs: [count:1, [len=46, data=000000001A447390AA6611CD9BC800AA002FC45A0300E76376BFA766CD4CB9725A08AC252BC90000000027220000]]
Folder: 'Public Root/NON_IPM_SUBTREE/StoreEvents{93ED8190-881A-40D2-B0FD-3615ADEB16CE}', entryId [len=46, data=000000001A447390AA6611CD9BC800AA002FC45A0300E76376BFA766CD4CB9725A08AC252BC90000000027220000], parentId [len=46, data=000000001A447390AA6611CD9BC800AA002FC45A03007943AF354860F8418A0338BB019906EE0000000000020000]
I've attempted to find some solutions, and searching for the respective error codes has suggested a couple of ideas, such as not being a PF Admin (checked), resource issues on source/destination servers (checked, and restarted for good measure), I saw mention
of a problem with NETBIOS resolution so added the source server into the host files (checked).
Any assistance would be greatly appreciated
CheersHello,
Thank you for your post.
This is a quick note to let you know that we are performing research on this issue.
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
Migrate only a selection of public folders from 2007 to 2013
Like the subject says- I've been asked to move a small selection only from 2007 to 2013. Essentially out of 4700 public folders they only want to migrate 170. I've always just moved them all and can't think of a way to do this. I can't just delete
the rest of the public folders on 2007- they want to keep them for a short while just in case they've screwed their logic. (They are relying on LastModifiedTime- no access in the last 6 months).
Any Suggestions?
regards
TonyI agree with Gary that with the MS default process this is true, however if you are open to 3rd party products Lucid8's DigiScope would allow you to open an Offline Copy of the 2007 PF, Filter out what you don't want to copy and then restore the balance
of folders from the offline EDB directly into the 2013 PF.
And of course you could also export the 170 folders to PST and then import to 2013 however that could get a bit ugly...
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
--> 2007 --> 2010 --> 2013 with Lucid8's
DigiScope -
I have 2 Exchange 2010 SP3 RU6 servers. All Mailboxes and Public Folders have been moved from the old server to the new one. If I dismount the Public Folder database from the old server, delivery to mail enabled Public Folders stops. I
believe resolving this is the last step before decommissioning this old server and uninstalling Exchange from it.
Before I delete the Public Folder database and/or uninstall Exchange from my old server, what do I need to do to setup routing/transport of email to Public Folders on my new server?
I've used the MoveAllReplicas.PS1 script successfully and believe nothing remains on the old server. Do I simply need to remove all mail enabled Public folders now with the Remove-PublicFolder EMC command? Or is it a background kind of task that
automatically updates after some period of time and then messages just start delivering directly to the new location of my Public Folders?Hi and thanks for your suggestion, but Get-PublicFolderMoveRequest is an Exchange 2013 command. I first ran the MoveAllReplicas script, probably a month ago. I've also used the RemoveReplicaFromPFRecursive script and
still it says that Replicase still exist within the Public Folder Database that I woul like to remove from my old server to be decommissioned. I've read of other people trying to uninstall Exchange from an old server that have encountered this error,
causing the uninstall to fail. Get-PublicFolderStatistics -Server "oldserver" | Format-List returns:
RunspaceId : 97d4eaaa-68e5-4c5f-ab61-f56de58fc01e
AdminDisplayName : Nntp Control Folder
AssociatedItemCount : 0
ContactCount : 0
CreationTime : 6/18/2002 8:42:31 AM
DeletedItemCount : 0
EntryId : 000000001A447390AA6611CD9BC800AA002FC45A0300F020D914C926D011A40900C04FD7BD87FFFFFFFF00020000
ExpiryTime :
FolderPath : Nntp Control Folder
IsDeletePending : False
ItemCount : 0
LastAccessTime : 8/11/2014 9:28:20 PM
LastModificationTime : 11/28/2012 5:41:45 AM
LastUserModificationTime :
LastUserAccessTime :
Name : Nntp Control Folder
OwnerCount : 0
TotalAssociatedItemSize : 0 B (0 bytes)
TotalDeletedItemSize : 0 B (0 bytes)
TotalItemSize : 0 B (0 bytes)
ServerName :
StorageGroupName :
DatabaseName : Public Folder Database 1
Identity : 000000001A447390AA6611CD9BC800AA002FC45A0300F020D914C926D011A40900C04FD7BD87FFFFFFFF00020000
MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A0300F020D914C926D011A40900C04FD7BD87FFFFFFFF00020000
OriginatingServer : oldserver
IsValid : True
Here it shows the size and count are 0 (zero), so I should be good to go. But, I am unable to remove it due to the Replicas Exist error.
Elsewhere, I found a suggestion to clear the checkmark in the OAB 'Distribution' settings regarding Public Folders, but that didn't help. I've also seen posts saying to dismount the Public Folders, rename them and when mounting,
take the option to create a blank or empty Public Folder database. When I did that, the mail enabled Public Folders did not resolve when sending emails. I had to quick mount the saved copy of my Public Folder database.
So, regarding your suggestion, does Disabling and then Enabling mail enabled folders re-associate or register them with the current Public Folder database structure?
One more thing I found is that the get-mailpublicfolder command returns an error stating a folder is corrupt.
WARNING: The object ci.walla-walla.wa.us/Microsoft Exchange System Objects/Library Vacation Calendar has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: Property expression "Library Vacation Calendar" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One
or more periods may be embedded in an alias, but each period should be preceded and followed by at least one of the other characters. Unicode characters from U+00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII
string in the e-mail address, which is generated from such an alias.
I don't see anything in the name of the folder, unless it actually has the " character embedded in it. But what is also odd is that I don't have a folder called "Library Vacation Calendar". It may be the remnant of something in the
past of a failed attempt. I do have a folder called VacationCalendar that the Library uses, and have even exported to PST and recreated without any impact to this problem. I do not know how to clear this condition, and assume it is responsible
for the Active Replicas error I get when trying to remove the PF database. -
Move mailboxes and public folders from exchange 2007 to Exchange 2013
1. How do i move mailboxes from exchange 2007 to exchange 2013. I have more than 1000 mailboxes.
What is the correct way to migrate. do i need to move a single mailbox. During migration do the mailboxes get corrupted
2. I want to move public folders from Exchange 2007 to Exchange 2013.
I ran powershell commands and got these results please do guide me how to move to exchange 2013.and what are the shell commands
Get-publicfolder
Name Parent Path
IPM_SUBTREE
Get-publicfolder | select AdminDisplayName,FolderPath
AdminDisplayName FolderPath
Get-PublicFolderStatistics | select AdminDisplayName,FolderPath
AdminDisplayName FolderPath
exchangeV1 schema-root\microsoft\exchangeV1
Internet Newsgroups Internet Newsgroups
Get-PublicFolder -Recurse | fl name,replicas > c:\publicfolder.txt
Name : IPM_SUBTREE
Replicas : {}
Name : Internet Newsgroups
Replicas : {MAIL\Public Folder Storage\Public Folder Database}I have started moving mailboxes , i have tried moving few individual mailboxes to see how things go
MAIL is my exchange 2007 and MAIL1 is my exchange 2013, please do refer the below result
PS] C:\Windows\system32>Get-MailboxDatabase -server mail
Name Server Recovery
ReplicationType
Mailbox Database MAIL False None
[PS] C:\Windows\system32>Get-MailboxDatabase -server mail1
Name Server Recovery
ReplicationType
Mailbox Database 1460777952 MAIL1 False None
[PS] C:\Windows\system32>New-MoveRequest -Identity '[email protected]' -TargetDatabase "Mailbox Database 1460777952"
DisplayName StatusDetail TotalMailboxSize
TotalArchiveSize PercentComplete
[email protected] Queued 363.6 MB (381,217,115 ...
0 -
Problems with Public Folders in Exchange 2010
Last month I upgraded my servers from 2000 to 2010. The route I took for exchange was 2000 -> 2003 -> 2010. Everything went fairly smooth and I have had no real problems until this week. (I have uninstalled the older exchange servers.) I have been
trying to clean out some of the remnants that have been left over from the older servers (for whatever reason the uninstall did not remove the information on the new server). I used ASDI edit to remove some old information that was pointing to the old exchange
server (First Administration Group I think it was called).
After that I upgraded to SP1 and Rollup 1. The Public folder database no longer appears under Organization Configuration, Mailbox. I am not sure if it was there after my deletion or not, so I am unsure if the problem is caused by my deletions or the upgrade.
I followed the instructions found here, http://technet.microsoft.com/en-us/library/bb727370%28EXCHG.80,printer%29.aspx . The CN=Public folders was found in CN=Folder Hierarchies. However
msExchOwningPFTree is greyed out, so I cannot update it. I have tried to delete it and remake it, same thing.
I also get the following events which I am assuming is caused by the Public Folders database not being mounted:
Log Name: Application
Source: MSExchangeRepl
Date: 10/28/2010 11:03:51 AM
Event ID: 3154
Task Category: Service
Level: Error
Keywords: Classic
User: N/A
Computer: sachdc00001.sunshineacres.local
Description:
Active Manager failed to mount database Public Folder Database 1678798462 on server sachdc00001.sunshineacres.local. Error: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error.
Error: A transient error occurred during a database operation. Error: MapiExceptionADPropertyError: Unable to mount database. (hr=0x80004005, ec=2418)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">3154</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-10-28T18:03:51.000000000Z" />
<EventRecordID>42074</EventRecordID>
<Channel>Application</Channel>
<Computer>sachdc00001.sunshineacres.local</Computer>
<Security />
</System>
<EventData>
<Data>Public Folder Database 1678798462</Data>
<Data>sachdc00001.sunshineacres.local</Data>
<Data>An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionADPropertyError:
Unable to mount database. (hr=0x80004005, ec=2418)
</Data>
</EventData>
</Event>
Log Name: Application
Source: ExchangeStoreDB
Date: 10/28/2010 11:03:51 AM
Event ID: 231
Task Category: Database recovery
Level: Error
Keywords: Classic
User: N/A
Computer: sachdc00001.sunshineacres.local
Description:
At '10/28/2010 11:03:51 AM', the copy of database 'Public Folder Database 1678798462' on this server encountered an error during the mount operation. For more information, consult the Event log on the server for "ExchangeStoreDb" or "MSExchangeRepl"
events. The mount operation will be tried again automatically.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ExchangeStoreDB" />
<EventID Qualifiers="49156">231</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-10-28T18:03:51.000000000Z" />
<EventRecordID>42073</EventRecordID>
<Channel>Application</Channel>
<Computer>sachdc00001.sunshineacres.local</Computer>
<Security />
</System>
<EventData>
<Data>Public Folder Database 1678798462</Data>
<Data>0855badd-62f3-421f-9175-86cf26891c8a</Data>
<Data>Store</Data>
<Data>GenericMountFailure</Data>
<Data>
</Data>
<Data>Store</Data>
<Data>There is only one copy of this mailbox database (Public Folder Database 1678798462). Automatic recovery is not available.</Data>
<Data>10/28/2010 11:03:51 AM</Data>
</EventData>
</Event>
Log Name: Application
Source: MSExchangeIS
Date: 10/28/2010 11:03:51 AM
Event ID: 9519
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: sachdc00001.sunshineacres.local
Description:
While starting database 0855badd-62f3-421f-9175-86cf26891c8a, the following error occurred: 0x972.
Look up of DB Info failed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeIS" />
<EventID Qualifiers="49158">9519</EventID>
<Level>2</Level>
<Task>6</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-10-28T18:03:51.000000000Z" />
<EventRecordID>42072</EventRecordID>
<Channel>Application</Channel>
<Computer>sachdc00001.sunshineacres.local</Computer>
<Security />
</System>
<EventData>
<Data>0x972</Data>
<Data>0855badd-62f3-421f-9175-86cf26891c8a</Data>
<Data>Look up of DB Info failed</Data>
<Binary>5B444941475F4354585D00002E000000FF8C170000000000000220000000496340107209000068284010720900003DE900104000060E3DD1401072090000</Binary>
</EventData>
</Event>
Also, the CN=InformationSore is empty. Is this normal?
Now I am assuming I deleted something that I shouldn't have.Tried that, I get the following when I go to the Public Folder Management Console:
Cannot complete the operation because there isn't an available public folder database on server
And even if I did that how does that help me retrieve my missing information? -
Cannot expand public folders in Outlook but can in OWA
Hi All,
I have a problem which I hope some one might be able to shed some light on. Firstly, the environment is Exchange 2010 (v 14.01.0438.000) and all clients use Outlook 2007. We have one user in the organisation who recently noticed that he cannot expand public
folders. He had been able to do so a couple of months back but could not pin point the time it stopped working. The error received reads :-
"Cannot expand the folder. The set of folders cannot be opened. The attempt to log on to Microsoft Exchange has failed."
I thought that this might be a permissions issue but this particular user can access the public folders via OWA. Also, my AD account was a copy of this user's and I can access public folders without issue.
I have tried the following so far :-
Tried running Outlook in safe mode
Tried recreating the Outlook profile.
Tried creating a new Outlook profile on a different client PC.
Tried running Outlook in cached an online modes.
Ran Exchange BPA and found no issues.
Checked ADSIedit for old administrative groups left over from past migrations.
used the test-outlook connectivity cmdlet from powershell which ran it's tests successfully.
This user originally set up all the public folders and was still listed as the owner of all of them.
Tried creating a new public folder.
Checked for an Outlook update that had caused a similar issue.
All the above failed to progress the situation. I have come across posts online that sound very similar, one stated that a Microsoft tech had found a permission that wasn't correct but didn't list which permission and the other related to an update to Outlook
that had triggered it. I can confirm it's not the update and I have checked permissions in the public folder management utility in Exchange. Also, my AD account is a copy of his and I can access the folders without issue.
I have also considered what may have changed on the network recently. The only major change has been a new admin password but I cannot see how that would be relevant.
Any help would be hugely appreciated!
Thanks in advance!Hello John: We are having the exact same issue. Thank you for the great description, it hits the nail on the head for an issue that is tough to explain. Did rebuilding the mailbox fix the problem? We thought a next step would be to create a new
AD profile for the user all together, although replacing the user herself would be easier for us. She obviously caused this problem and will most likely cause us more problems that might be worse if she keeps clicking and sliding on every thing that
is shiny to see what it does..
I can only surmise that CaRa ChEn has decided to "better understand customer views on social support experience" elsewhere. I think the only logic for the mailbox suggestion would be "grasping for straws" and it is the only thing you have not tried
so far. (Other than replacing the user). Pactera employees get points for being the first to reply to a question and the first to have a suggestion marked as helpful as well as the sheer quantity of replies to the forums that are made. High
value is placed on moving posts to different forums as well so I thought I would ask quick before the thread gets shoveled somewhere else.. If she needs help with the interview project she can find plenty of my thoughts here in the community.
Thanks again, and we will reply back if replacing the user (account) does NOT solve the problem, otherwise one can assume we are happy campers again our new employee and remember just because it is blinking does not mean you should click on it. :)
Best regards,
RickkEE
Maybe you are looking for
-
Getting no data found error while CSV download
Hi, I have a report generated from the PL/SQL returning the query and I enabled the CSV Download option. But, when I try downloading the report contents using CSV download option, the excel sheet contains message "no data found". I enabled sorting an
-
Hi I am doing a report in which i have to quantity for open planned orders and aslo quanity for open production order ican get open prd order from afko and afpo .. Can any body tell me from which table and field flag shoudl i pick for open planned o
-
Saving web dynpro data into a custom db tabl
Hi experts, Using editable alv i am editing alv fields , modified alv data is there in my internal table ( lt_contact). How can i move internal table data to Z-table... DATA: node_cont_dtls TYPE
-
When is itunes releasing Tiger Woods pga tour 11 on iphone.
-
Installing windows xp on my late 2009 iMac
how do i install windows xp on my late 2009 imac?