none
After migration to Office 365, ics calendar invites from external source aren't working - operation failed RRS feed

  • Question

  • We have an application that sends ics calendar invites via email. Before we migrated to Office 365, these were working fine. Now they just show up as an attachment to the email, such as ATT00001.ics. When we try to open, it says 'operation failed'.

    I've verified that .ics files are associated with Outlook.

    Is there something in my invite that is no longer compatible?

    Version is Outlook for Office 365 Business

    Thanks!

    PROGRAMMING CODE:

    $headers = 'Content-type: text/calendar; charset=utf-8';

    $headers .= 'Content-Dis filename=calendar.ics';


    $message = "BEGIN:VCALENDAR

    VERSION:2.0

    PRODID:-//maintenance-mailer//creator/NONSGML v1.0//EN

    METHOD:REQUEST

    BEGIN:VEVENT

    UID:" . md5(uniqid(mt_rand(), true)) . "example.com

    DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z

    DTSTART:".$date."T".$stime."00

    DTEND:".$date."T".$etime."00

    SUMMARY:".$subject."

    ORGANIZER;CN=".$organizer.":mailto:".$organizer_email."

    DESCRIPTION:".$description."

    END:VEVENT

    BEGIN:VALARM

    TRIGGER:-PT120M

    ACTION:DISPLAY

    DESCRIPTION:Maintenance Reminder

    END:VALARM

    END:VCALENDAR";


    mail($to, $subject, $message, $headers);

    CONTENTS OF INVITE AS IT ARRIVED IN OUTLOOK:

    BEGIN:VCALENDAR

         VERSION:2.0

         PRODID:-//maintenance-mailer//creator/NONSGML v1.0//EN

         METHOD:REQUEST

         BEGIN:VEVENT

         UID:74f7ac2fa4351466696df126fd0c0febexample.com

         DTSTAMP:20191107T131913Z

         DTSTART:20191108T000000

         DTEND:20191108T013000

         SUMMARY:Network Maintenance

         ORGANIZER;CN=Maintenance Dashboard:mailto:noreply@example.com

         DESCRIPTION:disregard

        END:VEVENT

        BEGIN:VALARM

        TRIGGER:-PT120M

        ACTION:DISPLAY

        DESCRIPTION:Maintenance Reminder

        END:VALARM

        END:VCALENDAR

    Monday, November 11, 2019 5:53 PM