Error: Failure in OutlookAgent/AutoDiscover code: 1
说明
When migrating to PST only, the following error appears in the log.
@ 11:26:09 Begin AutoDiscover and Profile Creation Log 11:26:09 11:26 AM: [Info] Using Passed Exchange credentials 11:26:09 11:26 AM: [Info] Setting SessionEmailAddress to 'zzzcbtest1@contoso.com' to create the PST profile 11:26:09 11:26 AM: [Info] Logging in with: zzzcbtest1@smbcgroup.com 11:26:09 11:26 AM: [Info] Creating PST file: D:\Exported PSTs\zzzcbtest1@contoso.com-852587CE0043AD9C.pst 11:26:09 11:26 AM: [Info] Getting temporary profile name 11:26:09 11:26 AM: [Error] Exception in CopyTempProfileToNewProfile: Not logged on. Please log on first 11:26:09 11:26 AM: [Error] Failure in Profile Generation @ 11:26:09 End of AutoDiscover and Profile Creation Log ! 11:26:09 Error: Failure in OutlookAgent/AutoDiscover code: 1 @ 11:26:09 Entering BTExchangeMapi::UnInitialize @ 11:26:09 Exiting BTExchangeMapi::UnInitialize @ 11:26:09 Deleting AutoDiscover Response file : C:\Users\adm\AppData\Local\Binary Tree\Notes Migrator\zzzcbtest1@contoso.com-AutoDiscover-Archive.xml @ 11:26:09 Deleting AutoDiscover Response file : C:\Users\adm\AppData\Local\Binary Tree\Notes Migrator\zzzcbtest1@contoso.com-AutoDiscover-Mailbox.xml @ 11:26:10 Exiting BTNotesMigrateUsersMailFile() @ 11:26:10 Exiting NotesUserMigrate() 11:26:10 Done migrating zzzcbtest1 11:26:10 zzzcbtest1 AutoDiscover Failure
原因
The customer just wants to migrate to PST so none of the account configuration has been done and doesn't need to be done as long as the Outlook client on the worker has been initialized of which it has.
解决办法
The issue is a red herring. The location of the PST file via the migration profile (D:\Exported PSTs\) which is a network mapped drive to the D drive. The migration account being used does not have access to write to the mapped network drive. Once the location of the PST was changed to the C drive the migration commenced.