outlook-restapi

Office 365 default Calendar's ID changes automatically

眉间皱痕 提交于 2019-12-25 08:29:55
问题 I was using V2 DLL of Office 365 API for performing calendar operations. I am saving default calendar's ID for performing operations on it. It was working fine for me from last two years but lately since last 1 month, when I am trying to fetch calendars from my account - just to check if the calendar is available on whom I am trying to work on - the calendar ID fetched is different from the calendar ID fetched from O365 API Saved Calendar ID -

ErrorMissingEmailAddress error in Outlook REST API

拜拜、爱过 提交于 2019-12-25 07:46:43
问题 I am developing an app to retrieve mail/calendar information. I am using the App model v2.0 OAuth2 and the Outlook REST API. I have a personal Live (...@live.nl) account which can use the outlook.com web interface to view mail/calendar data. When I use the same account with Outlook REST API I get the following error (also in OAuth Outlook Sandbox) while doing this request: https://outlook.office.com/api/v2.0/me/mailfolders/inbox/messages?$top=10 "error": { "code": "ErrorMissingEmailAddress",

Outlook Calendar Rest API (create meeting using /me/events request with change organizer)

[亡魂溺海] 提交于 2019-12-25 06:25:34
问题 I am using Outlook Calendar Rest API. I have define scope like: SCOPES = [ 'outlook.office.com/mail.read', 'outlook.office.com/calendars.readwrite' ] using request like: REQUEST = https://outlook.office.com/api/v2.0/me/events/ I am able to fetch events of calendar and also able to create a simple meeting on calendar using Rails framework. Now I want to change my organizer using this request /me/events. Is there any way to sort it out? 回答1: I don't think you will be able to change the

O365 Outlook REST API, masquerading

∥☆過路亽.° 提交于 2019-12-25 00:26:08
问题 We must write a synchronisation solution that must create and update calendar events in O365 for up to 4000 users. It is impossible to authenticate as each user to do this, but all docs and examples I found are based on direct authentication as the current user. From another Calendar REST API I know masquerading, there I can create a app token as Administrator, and then masquerade the URI as another user to create events. But it seems that Outlook/O365 don't have this feature. Which way must

How to get Outlook Access token?

爷,独闯天下 提交于 2019-12-24 21:16:12
问题 I'm using the outlook calendar rest api from Salesforce. To continuously leverage the calendar API I need to get authorisation code, access and refresh token. I have been able to get the Authorisation code by hitting the API. How to get the access token using development code to use the outlook calendar rest API. 回答1: Please find the list of AAD authentication libraries here: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-libraries 回答2: I found

extendedProperties sample request in REST API sandbox fails

。_饼干妹妹 提交于 2019-12-24 19:15:46
问题 The Microsoft Office365 REST API Sandbox offers sample requests to test supported REST API methods: https://oauthplay.azurewebsites.net/ However, all of the POST requests seem to fail, both when using the sandbox account your own account for example, these request fail: open extensions: create a message with an open extension extended properties: create a message with an extended property This holds for both API versions V2.0 and beta . Why is this or what is going wrong in the Sandbox?

Active Directory Authentication Library (ADAL) won't install Visual Studio 2013 .NET v4

∥☆過路亽.° 提交于 2019-12-24 17:18:26
问题 I am trying to follow along with this tutorial from Microsoft, https://dev.outlook.com/restapi/tutorial/dotnet, to use the Outlook REST API's with an app I'm building on Visual Studio 2013. I am using the .NET framework v4. I am stuck on step 4. Implementing OAuth2. Specifically I am unable to install the Active Directory Authentication Library (ADAL) in NuGet Package Manager. Originally, I tried to install the Active Directory Authentication Library (ADAL) on VS 2012, but soon discovered

Outlook REST API - Get logged in user's email address

为君一笑 提交于 2019-12-24 16:42:59
问题 How do I get the logged in user's email address using Outlook REST API? I'm using com.microsoft.services.outlook.fetchers.OutlookClient (https://github.com/OfficeDev/Office-365-SDK-for-Java/blob/master/sdk/outlook-services/src/main/java/com/microsoft/services/outlook/fetchers/OutlookClient.java). Is extracting it from the JWT access token the only way (see here and here) ? (Latest changes to tokens here) Thanks UPDATE: Following this approach: Get the Inbox parent folder ID: mClient.getMe()

No outlook webhook notification for events in secondary calendars

假如想象 提交于 2019-12-24 16:09:42
问题 I have successfully subscribed to changes of the events resource with a request body of: { "@odata.type": "#Microsoft.OutlookServices.PushSubscription", "Resource": "me/events", "NotificationURL": "...", "ChangeType": "Created, Updated, Deleted" } Although I get the expected webhook notification when modifying an event in the user's default calendar, I don't get any webhook notifications when modifying events in other calendars of the same user. Am I doing something wrong or is it a bug or

Create Draft mail in Office 365 via Web API

与世无争的帅哥 提交于 2019-12-24 13:26:17
问题 I have a Web API backend with EF and use AzureAD to authenticate my (office365)users of the web application that is written in AngularJS. Now I want to create a draft mail in my Web API but I don't know where to start. Can I just call the Office 365 mail API in my Web API? POST https://outlook.office365.com/api/{version}/me/sendmail But how do I pass the authentication token with it? Here is the Auth config that I use now and it works for other data requests. public static class Auth {