Your setup couldn't be started because of an unexpected error (mapi 0x80040604)

Not open for further replies.
Outlook version
Outlook 2016 32 bit
Email Account
Hi there,

We are getting this error when setting up icloud. This is what happened:
  • Have been using outlook with icloud & codetwo for years, no issues
  • Ran the windows 10 auto update the other day and icloud stopped working. Was throwing an error in outlook.
  • Thought it was an add in error, so tried repairing icloud, logging out and back in, uninstall/reinstall icloud, removed office 2013 and upgraded to office 2016 on my 365 account, etc. Nothing.
  • Now we are getting the error when we try to login to iCloud....
"Your setup couldn't be started because of an unexpected error (mapi 0x80040604)"

That error comes up after it goes through all 13,000 cal entries and then after "downloading icloud" it throws that error. Maybe a timeout since so much data?

Not sure what else we can do...

See attached.



  • o-error.png
    39.2 KB · Views: 1,046
You aren't alone. :( I haven't been able to repro it though. I don't think it's data - i had a client with 21000 appointments syncing. It took forever, but worked.

What do you use for antivirus?
Do you have plenty of free hard drive space? How full is your icloud?

These two come from old posts in the apple forums -
When you try to set it up, do you select the option to import from outlook? Don't sync up, only down - if possible, delete any events in the local calendar and contacts folder.
Are you using imap as your default data file? Try adding a pst to the profile and setting it as default. Does that fix it?
thanks for the reply.

using Avast free version. No issues on HDD space or icloud space (150gb free).

using default profile for calendar - not imap.

For setup question, i only see to use all or some calendars. No other alerts - where do you see that?
For setup question, i only see to use all or some calendars. No other alerts - where do you see that?
Always choose some then untick all.

Also, in most cases you don't want icloud to make a local copy when you sign out - you'll get everything back when you sign back in. Only exception is if you think there is a lot of stuff that didn't sync up - you can make a local copy but untick everything when you sign back in.

is there an Avast addin in outlook? If so, disable it. See if that helps.
We do not use the avast add in.

We did "some calendars" and unchecked. it worked!!!

Thank you for that idea - you're right, that's no need to upload to icloud, they are already there.
Thanks for the update - now i know what to tell everyone else who has this problem.
you got it! The only issue now - it's taking days to update the calendar! Lol. Hopefully it finishes up soon...
We have a new issue here. I think that there may be some bad calendar event or something - it will never finish syncing when outlook is open - just freezes and craps out. I think the issue is with code two - i am getting tons of alerts on my phone from my wife's calendar adding to icloud. Checking and it is adding holidays over and over. Is there a way to clear the icloud calendar and just rely on what she had in Outlook so when I turn on iCloud & codetwo again, it will just push everything back to iCloud? Unless you have another suggestion of course...

you can delete the icloud calendar at - in outlook, export it to a csv or ics, or move the events to a calendar folder in a pst first.

Go to and make a new calendar first, then click edit at the bottom of the screen and delete it.

Did all this, but still could not get it to work. Not sure why i did not think of this before. we just turned off Code Two and turned off our default calendar. the only calendar in outlook we have showing now is iCloud, which is hooked to my phone. No real need to use the default calendar that I can see!!
oh, so you are just not showing it in the navigation pane. I thought you meant you deleted or otherwise disabled it. :)

Note that if you create appt from the inbox, they go on the default calendar and will need to be moved to the icloud calendar. if you always create on the phone or directly on the calendar, it won't be a problem.
No, we only create on phone or on the icloud calendar (only one showing in outlook)
That should be perfect then.
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
e_a_g_l_e_p_i Outlook 2021 not letting me setup my Gmail using pop Using Outlook 1
A How Do I Setup My Optonline.Net Email Account? Outlook VBA and Custom Forms 0
M How to setup outlook after importing old account information - Entering email account info creates with "(1)" after the account! Using Outlook 1
L Ideas for Setup with New Office 365 Family Subscription (Outlook) Using accounts in Outlook 3
D Connecting Gmail to Outlook 365 - My Setup not working Using Outlook 2
S Outlook email to configure setup for each mail Outlook VBA and Custom Forms 1
1 Incorrectly Setup a Rule at Domain level to not allow address from outside domain Exchange Server Administration 2
Marc2019 Need help please! Cannot Setup my outlook email account on my Mac Outlook 2011 Using accounts in Outlook 2
T Interim Outlook 365 Setup Using Outlook 2
R Setup autofoward rule on a particular folder in Outlook Using Outlook 0
D Outlook 2010 account setup fails in particular domain Using Outlook 3
Marc2019 Cannot setup Outlook Account on Mac Os 10.6.8 Using Outlook 3
Z Account setup on Android Using Outlook 3
T Copying Outlook Account Setup For Desktop App Using Outlook 5
N Error 0x80090326 when trying to setup IMAP account on Using accounts in Outlook 1
Q Mail account setup query Using Outlook 0
Laurent Duchastel New email setup dialog doesn't allow alias Using Outlook 2
mrje1 Outlook 2016 Manual Email Account Setup, what is the Office 365 option etc., and Crashes Using Outlook 0
L Gmail POP, Android IMAP, Outlook 2013 setup close Using Outlook 5
T Exchange setup not possible with username Using accounts in Outlook 0
C GoDaddy office 365 setup wizard erased old Outlook emails? Using Outlook 14
B New Outlook 2013 setup Using Outlook 8
D Setup expire date for incoming mail Outlook VBA and Custom Forms 2
Ayzad Proper setup to work with iCloud sync? Using Outlook 5
L Outlook 2013 setup problems Exchange Server Administration 1
T Problem With Mail Setup IN Outlook 2013 Using Outlook 2
C iCloud can't setup Outlook 2010 32bit Win 7 64 Using Outlook 11
S Setup many personal calendars on outlook 2013 on new laptop- starting over Using Outlook 1
J Want to 'modernise'(?) my email setup using Outlook. Any advice? Using Outlook 0
jChambler setup of iCloud with Outlook 2007 fails Using Outlook 4
D Setup of Outlook2013 insists on using OST for an IMAP account. Using Outlook 5
S iCloud Setup Using Outlook 4
P Changing from POP to IMAP; will this setup work? Using Outlook 1
V iCloud and Outlook 2007 iCloud - Initial setup with live data on all machines Using Outlook 2
V Outlook 2007/2010 - First time iCloud setup and config for heavy Outlook user Using Outlook 1
V Yahoo E-Mail Setup Using Outlook 2
J calendar print setup in outlook 2010 Using Outlook 1
G Outlook 2013, Windows 8 and Windows Phone 7.5 WP7.5 Setup Using Outlook 11
J How-to setup Outlook 2010, Windows 7-32bit, iPhone (so they work and play tog. Using Outlook 3
B Two server DAG setup, second server EMC not opening Exchange Server Administration 3
A can u setup o/l to autodelete 2g of email when it reaches 3g on a 4g mailbox? Using Outlook 7
C Outlook Shared Folder setup Exchange Server Administration 3
S How to setup a company calendar Using Outlook 3
C crash during account setup - can't delete corrupted account/data file Using Outlook 13
T More than one outlook account to setup & move Using Outlook 1
F BCM Setup Problem BCM (Business Contact Manager) 2
P Outlook 2010 and Microsoft Setup Bootstraper... Using Outlook 1
F How to setup signature with Outlook 2007 with external picture Using Outlook 4
A Why not using DAG virtual IP/fqdn for CAS array in two nodes setup? Exchange Server Administration 2
M How do I get the version number of the Setup project? Outlook VBA and Custom Forms 1

Similar threads