Share via

[SOLVED] Outlook Classic + iCloud (Store App): "Malicious Code" error on Appointment Creation. MFCMAPI confirms standard IPM.Appointment class.

Sergio Iglesias Borrego 35 Reputation points
2026-01-06T09:24:17.97+00:00

Environment:

OS: Windows 10 Pro 22H2

Host: Outlook Classic (Desktop) - Latest Build.

Add-in: iCloud for Windows (Microsoft Store Version / UWP).

The Issue: When attempting to create a "New Appointment" within the iCloud calendar folder, Outlook throws a modal security error: "To prevent the execution of malicious code, one or more objects in this form were not loaded."

Troubleshooting & Forensics Performed: I have ruled out corruption and basic settings. Here is the technical summary:

Clean Install: Full removal of iCloud (using HiBit Uninstaller to scrub registry/AppData) and Office Online Repair. Issue persists on fresh install + fresh Outlook Profile.

Logs: Event Viewer captures Event ID 32 (Outlook) pointing to the OST file access at the exact moment of the error.

Registry Hardening:

Tried AllowActiveXOneOffForms = 2 (in both HKCU and Policies hives). Failed.

Tried PromptSimpleMAPIMail = 2. Failed.

Tried whitelisting Message Classes in TrustedFormScriptList (IPM.Appointment, IPM.Appointment.iCloud). Failed.

MFCMAPI Analysis:

Inspected the iCloud Calendar folder.

Contents: Existing items are standard IPM.Appointment message class.

Associated Contents Table (Hidden): EMPTY. There are no hidden custom form definitions stored in the folder.

Conclusion: The error is not stemming from a stored custom form corruption. It appears the iCloud COM Add-in is attempting to inject a runtime Form Region or ActiveX control into the standard Inspector window that is being blocked by a specific Outlook security baseline.

Request: Since standard whitelisting fails and MFCMAPI shows no custom class to target, how can I trace the specific CLSID or GUID that Outlook is blocking? I need to identify the offending object to apply a specific killbit/allowlist override.

Outlook | Windows | Classic Outlook for Windows | For home

3 answers

Sort by: Most helpful
  1. Sergio Iglesias Borrego 35 Reputation points
    2026-01-09T15:54:08.0633333+00:00

    After extensive testing and confirming that neither 'Trust Center' settings nor 'Whitelisting' scripts solved the issue, I found the root cause:

    The iCloud Form Region (the custom UI layer Apple injects into the Appointment window) contains code/ActiveX controls that trigger modern Outlook security blocks.

    The Solution (Workaround): Instead of fighting the security block, you can simply disable the visual Form Region in the Registry. This forces Outlook to use its native/standard Appointment window (which loads instantly and safely) while keeping the iCloud Synchronization engine fully active in the background.

    Steps to fix:

    Close Outlook.

    Open Registry Editor (regedit).

    Navigate to the Form Regions key. Depending on your Windows/Office version (32-bit vs 64-bit), check both locations:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\FormRegions\IPM.Appointment

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\Outlook\FormRegions\IPM.Appointment

    Look for the key/value named Apple.DAV.Appointment.

    Rename it to _Apple.DAV.Appointment (adding the underscore hides it from Outlook).

    Restart Outlook.

    Result:

    No more 'Malicious Code' error when opening/creating iCloud appointments.

    The window opens instantly (Native Outlook UI).

    Synchronization to iPhone/iPad works perfectly.

    Note: A future update of the iCloud for Windows app might recreate these keys. If the error returns, simply rename them again.

    You and 4 other people found this answer helpful.

  2. Sergio Iglesias Borrego 35 Reputation points
    2026-01-06T09:31:25.0066667+00:00

    This looks like a generic AI-generated response.

    I have already analyzed the Event Viewer (Event ID 32), as stated in my post.

    Process Monitor is a generic tool; I am asking for specific knowledge regarding which GUIDs/CLSIDs are used by the iCloud Add-in appointment forms to whitelist them.

    Please do not mark this as answered. I am waiting for a human engineer or MVP with knowledge of Outlook Form Regions security policies.

    0 comments No comments

  3. Q&A Assist
    2026-01-06T09:24:29.2933333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To trace the specific CLSID or GUID that Outlook is blocking, you can follow these steps:

    1. Use Process Monitor: Download and run Process Monitor from Sysinternals. Set up a filter to capture events related to Outlook. Look for any entries that indicate a failure to load a specific COM object or ActiveX control when you attempt to create a new appointment.
    2. Check Event Viewer: Since you already have Event ID 32 logged, look for any additional related events around the same timestamp that might provide more context or details about the blocked object.
    3. Review the iCloud Add-in: Since the issue seems to stem from the iCloud COM Add-in, check if there are any updates or known issues with the version you are using. Sometimes, the add-in itself might have bugs that cause it to attempt to load unsupported components.
    4. Registry Inspection: You can inspect the registry for any entries related to the iCloud add-in. Look under HKEY_CLASSES_ROOT and HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins for any CLSIDs or GUIDs associated with the iCloud add-in.
    5. Debugging Tools: If you have access to Visual Studio or another debugging tool, you can attach it to the Outlook process to catch any exceptions or errors that occur when the appointment creation fails. This may give you insight into what specific object is being blocked.
    6. Contact Support: If you are unable to identify the offending object, consider reaching out to Microsoft support or the iCloud support team for assistance. They may have additional tools or insights to help you diagnose the issue.

    By following these steps, you should be able to identify the specific CLSID or GUID that is causing the security error when creating appointments in the iCloud calendar folder.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.