User Profile
SlavaG
Copper Contributor
Joined 7 years ago
User Widgets
Recent Discussions
Exchange Web Services get appointment as MIME (Office 365)
I'm trying to get iCal from EWS appointment (https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-export-items-by-using-ews-in-exchange). In general it's works fine, but something goes wrong when appointment is recurring with modified occurrences (exceptions), them MIME content received on master recurring event contains all it's modified occurrences : BEGIN:VCALENDAR METHOD:PUBLISH PRODID:Microsoft Exchange Server 2010 VERSION:2.0 BEGIN:VTIMEZONE TZID:Israel Standard Time BEGIN:STANDARD DTSTART:16010101T020000 TZOFFSETFROM:+0300 TZOFFSETTO:+0200 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T020000 TZOFFSETFROM:+0200 TZOFFSETTO:+0300 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1FR;BYMONTH=3 END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT ORGANIZER;CN=Slava:mailto:slava@domain.onmicrosoft.com ATTACH:CID:408BD82990C789226A32C4E6F8D7E592D9DD5960@eurprd01.prod.exchangel abs.com RRULE:FREQ=WEEKLY;UNTIL=20200401T050000Z;INTERVAL=1;BYDAY=WE;WKST=SU UID:040000008200E00074C5B7101A82E00800000000D263C072E37DD501000000000000000 01000000021933B3497010A43A59A900692A1BE23 SUMMARY;LANGUAGE=en-US:Recurrent 1 DTSTART;TZID=Israel Standard Time:20191009T080000 DTEND;TZID=Israel Standard Time:20191009T083000 CLASS:PUBLIC PRIORITY:5 DTSTAMP:20200401T060210Z TRANSP:OPAQUE STATUS:CONFIRMED SEQUENCE:0 LOCATION;LANGUAGE=en-US: X-MICROSOFT-CDO-APPT-SEQUENCE:0 X-MICROSOFT-CDO-OWNERAPPTID:2117746898 X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-CDO-ALLDAYEVENT:FALSE X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-CDO-INSTTYPE:1 X-MICROSOFT-DONOTFORWARDMEETING:FALSE X-MICROSOFT-DISALLOW-COUNTER:FALSE X-MICROSOFT-LOCATIONS:[] BEGIN:VALARM DESCRIPTION:REMINDER TRIGGER;RELATED=START:-PT15M ACTION:DISPLAY END:VALARM END:VEVENT BEGIN:VEVENT UID:040000008200E00074C5B7101A82E00800000000D263C072E37DD501000000000000000 01000000021933B3497010A43A59A900692A1BE23 RECURRENCE-ID;TZID=Israel Standard Time:20191023T080000 SUMMARY:Recurrent 1_1 DTSTART;TZID=Israel Standard Time:20191023T080000 DTEND;TZID=Israel Standard Time:20191023T083000 CLASS:PUBLIC PRIORITY:5 DTSTAMP:20191112T145232Z TRANSP:OPAQUE STATUS:CONFIRMED SEQUENCE:0 LOCATION: X-MICROSOFT-CDO-APPT-SEQUENCE:0 X-MICROSOFT-CDO-OWNERAPPTID:2117746898 X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-CDO-ALLDAYEVENT:FALSE X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-CDO-INSTTYPE:3 X-MICROSOFT-DONOTFORWARDMEETING:FALSE X-MICROSOFT-DISALLOW-COUNTER:FALSE END:VEVENT END:VCALENDAR And it's no that that difficult to filter out modified occurrences as they have have RECURRENCE-ID that distinguish between master recurring and modified occurrence. The issue is then, when I trying to bring by using EWS all modified occurrences from that master : https://docs.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.appointment.modifiedoccurrences?view=exchange-ews-api#Microsoft_Exchange_WebServices_Data_Appointment_ModifiedOccurrences and reqesting MIME for each mofified occurence brings MIME that contains again all modified ocurences for that master and now it's very difucult to filter out not relevant events, as I'm getting too many, for example with 1 master and 3 modified in total I'll get by MIME 10 events (1 master and 3 modified in each MIME request) and those are duplicates. Please see below example of MIME for modified occurrence (it contains same event twice, second time without some properties, while first event has RRULE definition together with RECURRENCE-ID that is comes in contradiction with iCal RFC) BEGIN:VCALENDAR METHOD:PUBLISH PRODID:Microsoft Exchange Server 2010 VERSION:2.0 BEGIN:VTIMEZONE TZID:Israel Standard Time BEGIN:STANDARD DTSTART:16010101T020000 TZOFFSETFROM:+0300 TZOFFSETTO:+0200 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T020000 TZOFFSETFROM:+0200 TZOFFSETTO:+0300 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1FR;BYMONTH=3 END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT ORGANIZER;CN=Slava mailto:slava@domain.onmicrosoft.com ATTACH:CID:C193186C7E6D4769FD7EB28C80DBC92443A1190C@eurprd01.prod.exchangel abs.com DESCRIPTION;LANGUAGE=en-US:\n RRULE:FREQ=WEEKLY;UNTIL=20200401T050000Z;INTERVAL=1;BYDAY=WE;WKST=SU UID:040000008200E00074C5B7101A82E00800000000D263C072E37DD501000000000000000 01000000021933B3497010A43A59A900692A1BE23 RECURRENCE-ID;TZID=Israel Standard Time:20191023T080000 SUMMARY;LANGUAGE=en-US:Recurrent 1_1 DTSTART;TZID=Israel Standard Time:20191023T080000 DTEND;TZID=Israel Standard Time:20191023T083000 CLASS:PUBLIC PRIORITY:5 DTSTAMP:20191112T145232Z TRANSP:OPAQUE STATUS:CONFIRMED SEQUENCE:0 LOCATION;LANGUAGE=en-US: X-MICROSOFT-CDO-APPT-SEQUENCE:0 X-MICROSOFT-CDO-OWNERAPPTID:2117746898 X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-CDO-ALLDAYEVENT:FALSE X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-CDO-INSTTYPE:3 X-MICROSOFT-DONOTFORWARDMEETING:FALSE X-MICROSOFT-DISALLOW-COUNTER:FALSE X-MICROSOFT-LOCATIONS:[] END:VEVENT BEGIN:VEVENT UID:040000008200E00074C5B7101A82E00800000000D263C072E37DD501000000000000000 01000000021933B3497010A43A59A900692A1BE23 RECURRENCE-ID;TZID=Israel Standard Time:20191023T080000 SUMMARY:Recurrent 1_1 DTSTART;TZID=Israel Standard Time:20191023T080000 DTEND;TZID=Israel Standard Time:20191023T083000 CLASS:PUBLIC PRIORITY:5 DTSTAMP:20191112T145232Z TRANSP:OPAQUE STATUS:CONFIRMED SEQUENCE:0 LOCATION: X-MICROSOFT-CDO-APPT-SEQUENCE:0 X-MICROSOFT-CDO-OWNERAPPTID:2117746898 X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-CDO-ALLDAYEVENT:FALSE X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-CDO-INSTTYPE:3 X-MICROSOFT-DONOTFORWARDMEETING:FALSE X-MICROSOFT-DISALLOW-COUNTER:FALSE END:VEVENT END:VCALENDAR Is there any way to get MIME that has only one event for each appointment in MIME ? Or this is a bug ? Thanks1.6KViews0likes0CommentsIncrease in unnecesary throttling in Sharepoint online
Hi, We're using REST API to access customers sharepoint online tenants to perform backup of the content. Starting July 17 we started to see heavy throttling response on our api request. It's about 10 time more throttling than a day before. There's was no any change in our code at that moment, and we see that behavior across thousands tenants. Searching in foruls, I saw that another companies have exactly same issue. Looks like it's a bug is Sharepoint Online throttling. Please advise. Thanks513Views0likes0CommentsIncrease in unnecesary throttling in Sharepoint online
Hi, We're using REST API to access customers sharepoint online tenants to perform backup of the content. Starting July 17 we started to see heavy throttling response on our api request. It's about 10 time more throttling than a day before. There's was no any change in our code at that moment, and we see that behavior across thousands tenants. Searching in foruls, I saw that another cokpa9have exactly same issue. Looks like it's a bug is Sharepoint Online throttling. Please advise. Thanks741Views1like1CommentHow to find list of Sharepoint hidden sites (programatically)?
I have a Sharepoint Online tenant with number of sites. Some of those sites marked as hidden ("Allow this site to appear in search results?" is no) and search query in the Sharepoint to search for sites doesn't returns them at all, while sites that are not "hidden" returned. Is there any way (programatically, REST / Graph API) in the Sharepoint Online to search for such "hidden" sites and get list of them ? Thanks1.9KViews0likes0CommentsOffice 365 Mailbox size
Hi, I'm a bit confused what is counted when I see mailbox size if the office 365 admin center? There's a regular mailbox definitely, but is it including Recoverable Items? What about Exchange Online Archive? I think it's not counts in the mailbox box size. As when I'm counting size using API (Exchange web service) I'm getting much more than just regular mailbox size, but seems that in the admin center it's shows only regular mailbox size. Is there any place where Microsoft explains what is taken into counting mailbox size? Thanks a lot!985Views1like1Comment"The account does not have permission to impersonate the requested user" error
Hi, Last week we're started to get "The account does not have permission to impersonate the requested user' error on the customer accounts that were working perfectly up to last week. When, for example customer with 100 accounts that impersonated by 1 service account, we see each day errors for different impersonated accounts. Talking with support on behalf of the customer didn't provided any help. Their answers as usual. While doing more research we're found that if doing 2 accounts impersonating in parallel (even from different servers) we get this error, and when doing 2 or even more accounts impersonating serial, everything is working fine. I'm afraid that MS has a bug in their permissions checking mechanism while trying to impersonate more than 1 account in parallel. MS Exchange engineers, can you please check this ? Your customer supports is lacks of willing to assist. Thanks17KViews0likes7CommentsRe: "No mailbox with such guid" error
Well, It's not our tenant, but customer's that saying that mailbox are licensed, and even more up to 2 days ago, those accounts were working fine. So, I assume it's something else, it's just started to return errors on those valid, licensed and previousky working mailboxes, 2 days ago. Last week, we see strange bug from office 365, so I guess it's another one in the bugs pipeline 🙂. Thanks55KViews0likes2Comments"No mailbox with such guid" error
Hi, Last week we're suffering from many office 365 errors, that started to happen out of the blue. Now, it's a new one, we're using EWS to access office 365 , using account with impersonation rights to access another mailboxes. Since yesterday we see high rate of error "No mailbox with such guid" on the mailbox that are really exists and valid mailboxes. Have no idea what is going on there in Office 365, but last week it's a worst ever, 3 different issue for one week, MS support team is totally non-professional and response with "it's a connectivity issue" or "it's a 3'rd party issue, we don't solve this", even, even when we send them request / response trace, clearly showing what was request and what is response, and where's the problem. And they constantly asking for the screenshot for EWS !!! Very sad, it was stable product, but last weeks dangerous degradation, affecting many tenants, without any one from Microsoft is taking responsibility on that.Solved57KViews0likes4CommentsRe: Strange exception from the Exchange Web Services "An internal server error occurred.
Same issue here, it's already a week with this strange error, and Microsoft support doesn't provide any meaningful answers, only that they don't support 3'rd party applications and that it's a connectivity issue. Very non-professional.5.6KViews0likes1Comment
Recent Blog Articles
No content to show