none
EWS MeetingRequestSchema.ChangeHighlights getting null every time. RRS feed

  • Question

  • I am using streaming notification to get Meeting, when I am updating meeting location in outlook client of recurring single occurrence , Location fields not returning room mail box emails correctly .  that why i want to fetch MeetingRequestSchema.ChangeHighlights its getting null .

    below code i am using for this.  please any one help me to solve this issue.

     

    public static void OnEvent(object sender, NotificationEventArgs args)
            {
                StreamingSubscriptionConnection connection = (StreamingSubscriptionConnection)sender;
                StreamingSubscription subscription = args.Subscription;
                #region CREATE UPDATE Event
                var app = from e in args.Events.OfType<ItemEvent>()
                          where e.EventType == EventType.FreeBusyChanged
                          select e.ItemId;

                subscription.Service.ImpersonatedUserId = connection.CurrentSubscriptions.Select(x => x.Service.ImpersonatedUserId).FirstOrDefault();

                PropertySet psPropset = new PropertySet(BasePropertySet.FirstClassProperties);
                psPropset.Add(MeetingRequestSchema.ChangeHighlights);

                var response = subscription.Service.BindToItems(app, psPropset);

                var items = response.Result.Select(itemResponse => itemResponse.Item);

                foreach (var item in items)
                {
                    if (item != null)
                    {
                        Appointment appoint = (Appointment)item;

                    }

    }

     
    Wednesday, February 5, 2020 9:56 AM

All replies

  • This Thread should be moved to Exchange Development Forum

    Vinny | Freelancer | Microsoft Certified Azure Solutions Architect Expert| Microsoft 365 Certified: Enterprise Administrator | Microsoft 365 Certified: Messaging Administrator Associate| ITILV3 | PMP

    Wednesday, February 5, 2020 10:25 AM