office365

Service Communications API Current Status returns wrong date

ぃ、小莉子 提交于 2019-12-11 04:13:24
问题 When you query the current status using the Service Communications API (e.g. https://manage.office.com/api/v1.0/{tenant-guid}/ServiceComms/CurrentStatus ), the StatusTime returned (which should be the current date/time) is always 24 hours out. This is the current status (for EXO) returned for my tenant this morning: { "FeatureStatus": [ { "FeatureDisplayName": "Sign-in", "FeatureName": "Signin", "FeatureServiceStatus": "ServiceOperational", "FeatureServiceStatusDisplayName": "Normal service"

MailItem.GetInspector.WordEditor in Office 2016 generates Application-defined or object defined error

此生再无相见时 提交于 2019-12-11 03:55:23
问题 I wrote an Excel macro to send email from a spreadsheet. It works on Office 2013, but not Office 2016. I looked at the VBA differences between Office 2013 and 2016, but couldn't see anything about changes to the inspector or word editor for message objects. Once it gets to .GetInspector.WordEditor it throws: Run-time error '287': Application-defined or object defined error Here is the relevant part of the macro: Sub SendEmail() Dim actSheet As Worksheet Set actSheet = ActiveSheet 'directories

Odata $filter for the date in the Office 365 REST API

会有一股神秘感。 提交于 2019-12-11 03:43:30
问题 I'm trying to retrieve events for a user from its Office 365 account using the REST API but filtered by the field "Start". For instance, retrieve all the events that will happen after the date: 2014-08-29T09:13:28' but i'm always retrieving this error message { "error": { "code": "ErrorInvalidUrlQuery", "message": "The query parameter '$filter' is invalid.", "innererror": { "message": "The query parameter '$filter' is invalid.", "type": "Microsoft.Exchange.Services.OData

Office Word JS - Content Control from Table Selection

為{幸葍}努か 提交于 2019-12-11 03:39:43
问题 I am working on a Word add-in, using the Office JS API, trying to add a Content Control around a Table Binding in the document. The issue I am experiencing is after the Binding around the table is selected, using goToByIdAsync() , the Content Control is created around the last row of the table only, not the selection. Returning the value of ctx.document.getSelection() I can see the selected Range is only the last row in the Selected Table. I need to use the Binding object to know the selected

PHP imap_search: UTF-8 / Non-ASCII characters on Microsoft Exchange mail servers

半世苍凉 提交于 2019-12-11 03:20:02
问题 I want to fetch emails from outlook.office365.com using IMAP and PHP. Since the most emails contain non-ASCII characters like äöü , I use UTF-8 in my imap_search() function: imap_search($mbox_connection, 'ALL', SE_UID, "UTF-8") With UTF-8 and the search criteria ALL I get all emails as expected. Now, I wanted to restrict it to for example only unseen (unread) emails: imap_search($mbox_connection, 'UNSEEN', SE_UID, "UTF-8") But this unfortunately causes the issue, that no emails can be found

Getting events from specific calendar using office 365 API

天涯浪子 提交于 2019-12-11 02:57:36
问题 I am trying to get events from specific calendar (non default) using Office 365 API. I found this URL from the office 365 API docs. GET https://outlook.office.com/api/{version}/me/calendars/{calendar_id}/calendarview?startDateTime={start_datetime}&endDateTime={end_datetime} Where i replaced {calendar_id} with actual ID which i got from another API call which returns all calendar groups. GET https://outlook.office.com/api/{version}/me/calendargroups After replacing all relevant parameters, i

Outlook Javascript API - window.open not working from Outlook 2016 Desktop/Windows

喜欢而已 提交于 2019-12-11 02:36:33
问题 I have an Office Add-In written in the new JavaScript API, inside of it, I have a JS function which after some logic opens a web app in a new window using window.open(url, '_blank') It works when called from the add-in pane in Outlook Web in both, localhost hosted add-in, as well as after deployment on heroku. However when called from a command (add-in button on ribbon) it works only when the add-in is hosted on localhost, after I deploy it on heroku, the add-in works, shows commands in the

Building Daemon or Service Apps with Office 365 REST API in Java

纵然是瞬间 提交于 2019-12-11 02:12:20
问题 I am trying to build a batch job to access Office 365 Mail API. Up on checking the documentation (the concept is very clear), I wasn't able to find a code sample written for Java. I've found this but it relies on the java pom file but I would love to use REST API or Graphi API directly if possible. Can someone point me on how to get started with building a Daemon service to access Office 365 REST API without users login ? UPDATE I've the following code to get the token using AADL library

Writing a simple microsoft graph client without using a web server

徘徊边缘 提交于 2019-12-11 01:58:28
问题 I'm looking to write a script to update a Distribution List in Office365. I'm in the process of learning the MS Graph API and have gotten the python REST sample to work. It appears that all the sample Graph API code, regardless of language or platform, has an assumption that I'm coding from a web user interface in one way or another. Is it possible to write a simple client that runs from a Linux box and allows me to specify my Office 365 id in my code, without having to select it from a

Office 365 API throwing 500 on /me/calendars endpoint

痴心易碎 提交于 2019-12-11 01:46:58
问题 Screenshot: http://take.ms/MWwbv Endpoint: https://outlook.office365.com/api/v1.0/me/calendars We're providing an access token in the headers of the request. It's been working for weeks and just broke with this error today. === Start Error Message === Server Error in '/API' Application. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web