office365api

Read parameters from Outlook 365 Add-In manifest

混江龙づ霸主 提交于 2019-12-23 23:07:56
问题 Is it possible to get the parameters from the Outlook 365 add-in manifest programmatically (like version number or maybe resources)? I've searched all over the internet, but haven't found any way to do it yet :( Some background: I need some information to be available at run-time from the manifest settings (the customers are expected to install the add-in via manifest and it is to be tailored for each customer with some special data). Thanks in advance! 回答1: The manifest file is only consumed

outlook.com rest api incorrect organizer email

岁酱吖の 提交于 2019-12-23 22:55:17
问题 When a user has created an event in outlook.com shared calendar, the REST API tells that calendar owner is organizer. I have one calendar in Outlook.com and I'm syncing all calendar event's to my server with a calendar subscription. I get notifications when something happens and there is url in the notification which I can use to get object of that newly created event. I have now another user in outlook.com and I have shared my calendar to him. When he does something in that shared calendar I

Microsoft Graph API User custom property

六月ゝ 毕业季﹏ 提交于 2019-12-23 12:30:14
问题 I need to access custom properties on the user object via the graph api. Currently the documentation shows the properties that can be accessed in the "Update User" section of the v1.0: http://graph.microsoft.io/docs/api-reference/v1.0/api/user_update . I'm using this call to get the current logged in user and properties, but I can't seem to get any custom properties to work: https://graph.microsoft.com/v1.0/me?$select=aboutMe,birthday,city,country,department,displayName,givenName,hireDate

Get Sharepoint online file structure into json file using javascript

吃可爱长大的小学妹 提交于 2019-12-23 05:04:52
问题 I have a problem, I am a UX Designer and I am designing a Global Enterprise knowledge base. Data is stored everywhere. I need to be able to pull a list of directories & files from an online (hosted on Office 365) sharepoint repository and place it in a json file. Then allow the users to select the files and download them. My biggest need is to be able to get the list from the repository. I have been through the tons of documentation from MSDN, and now more confused than ever. I am strong in

How to read calendars which are shared by others in Office 365 REST API

ⅰ亾dé卋堺 提交于 2019-12-23 04:52:38
问题 https://outlook.office.com/api/v1.0/Users/me/calendars I used this one to get all my calendars. I've got all calendars except calendars which are shared by others with me. I just want to read these calendars. My question is: Does Office 365 Rest Api support my scenario - read calendars shared by others with me? How? 回答1: No it doesn't. Right now the API only supports accessing your data, it doesn't support accessing other folks, even if they've given you access. This is a feature we are

can't add attachment to calendar event

拈花ヽ惹草 提交于 2019-12-23 04:46:06
问题 I am trying to add attachment to calendar using Office 365 Starter Project for ASP.NET MVC https://github.com/OfficeDev/O365-ASPNETMVC-Start. As it requires event id I can't add using method AddCalendarEventAsync. So I'm trying to update event using below code: var outlookServicesClient = await AuthenticationHelper.EnsureOutlookServicesClientCreatedAsync("Calendar"); var thisEventFetcher = outlookServicesClient.Me.Calendar.Events.GetById(selectedEventId); IEvent eventToUpdate = await

Getting Bad Request error while updating email category with Office 365 API and HttpClient in C#

独自空忆成欢 提交于 2019-12-23 02:50:15
问题 I'm trying to to update email category and also mark it as read after that with the help of Outlook 365 API and HttpClient . Following this tutorial. In the tutorial the code is as below to update category and mark as read but, I'm not getting that how should I attach these details to HttpClient and request. PATCH https://outlook.office.com/api/v2.0/me/messages/AAMkAGE0Mz8S-AAA= Content-Type: application/json { "Categories": [ "Orange category", "Green category" ], "IsRead": true } The method

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

旧巷老猫 提交于 2019-12-23 02:19:26
问题 I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address":

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

谁说胖子不能爱 提交于 2019-12-23 02:19:01
问题 I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address":

What to do if app misses notification - SequenceNumber jumps over by one or more?

蹲街弑〆低调 提交于 2019-12-22 17:04:09
问题 Where I am right now? I have subscribed to calendar notifications via office365's REST API. When any event in that calendar are created/updated/deleted office365 sends notification to my app's endpoint which I assigned when I created this subscription. Subscription code works like a charm and notifications are coming immediately. I really want to make my code error tolerant and here comes the problem: what happens if notifications are coming in non-incremental order? For example if someone