office365

Unable to set isOrganizerOptional parameter, in findMeetingTimes

老子叫甜甜 提交于 2019-12-09 03:08:29
In using Microsoft Graph , I am unable to set the IsOrganizerOptional parameter. This code works: { "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2018-01-11T11:00:00", "timeZone": "Pacific Standard Time" } } ]...} But, this code: { "isOrganizerOptional": true, "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2018-01-11T11:00:00", "timeZone": "Pacific Standard Time" } } ]...} ... throws the following

Client side paging using Microsoft OneDrive API/SDK

女生的网名这么多〃 提交于 2019-12-08 20:30:04
问题 I am trying to implement client side paging using Microsoft OneDrive API/SDK. For that I need the total count of items as response from the API, and based on the skip and maximum limit value passed to the API, the response should be fetched. In the List Items link, it is mentioned that we can achieve this using the query strings provided here. Based on this assumption, I am building the URL for API call as below: string.Format("https://graph.microsoft.com/v1.0/me/drive/root/children?$skip={0}

Load document from local filesystem to Office online

余生颓废 提交于 2019-12-08 20:14:49
I would like to load/save a file directly from the local filesystem in Word online (without uploading it to onedrive). Since this is not part of the default functionality I am trying to determine if this would be possible with an addin. The loading part: The Document object gives access to body load and save Methods however the documentation is unclear (to me) for load: Fills the proxy object created in JavaScript layer with property and object values specified in the parameter. It seems there are options available like insertFileFromBase64 and insertOoxml but unclear if those are only in

How to fetch email headers with Office 365 Mail REST APIs?

試著忘記壹切 提交于 2019-12-08 19:46:40
问题 I can't seem to find a way to fetch raw RFC 2822 email headers from the message resource https://msdn.microsoft.com/office/office365/APi/complex-types-for-mail-contacts-calendar#RESTAPIResourcesMessage All the standard headers To, From, Subject are available. How do I get a list of headers[] other than the standard once such as "Received", "Delivered-To", etc.. Is this feature not yet supported? 回答1: Igor - Office 365 REST API doesn't currently support returning the RFC 2822 email headers.

Unable to connect bot to Skype For Business Online

亡梦爱人 提交于 2019-12-08 15:23:28
I am unable to connect my bot to Skype For Business (SFB) Online. I have followed below URL for the same - https://msdn.microsoft.com/en-us/skype/Skype-For-Business-Bot-Framework/docs/overview I am the global administrator of my Office 365 account and have the privileges to connect the bot to SFB Online. It has been more than 8 hours the bot has been registered. The first command (Import-PSSession) works fine. The second command (New-CsOnlineApplicationEndpoint) gives below error - Cmdlet invocation error + CategoryInfo : NotSpecified: (:) [New-CsOnlineApplicationEndpoint],

Create an Office365 mailbox from within C# Web API method

北战南征 提交于 2019-12-08 15:09:35
Context I have an ASP.NET Web API application invoked by an ASP.NET MVC application. Inside the Web API, I have a method that will need to create an Office365 mailbox amongst other stuff (create folders, create a contact, create a signature etc.…) The creation of that mailbox actually hides few steps that need to occur in a particular order: Create a User in the local Active Directory (return true or false). Force AD Connect to synchronize between the local AD and the Azure AD because there is a default 30 min delay which we can’t wait for, hence why we need to force the synchronization

Change message body before sending in outlook 365

拈花ヽ惹草 提交于 2019-12-08 13:43:09
问题 It possible to change message body (e.g. add some text at the end) on send button clicking. 回答1: Outlook 365? There is no such thing. Do you mean Outlook 2016 (desktop app)? Or Outlook Web App? In the former case, trap the Application.ItemSend event and modify the message passed as the parameter. In the latter case, there is nothing you can do. 回答2: Office.js API currently doesn't support events. There are a lot of requests for monitoring "onSend" event. You may up vote it over here:

Microsoft Teams: How to provide a 1:1 chat bot globally?

被刻印的时光 ゝ 提交于 2019-12-08 13:27:06
问题 We want to provide services via a 1:1 chat bot for Teams users. This bot should be immediately present for all Teams users to chat with. Since this bot/app is not used in a specific Team-context (no channel conversation, not tabs etc., only 1:1 chat) nobody should have to add this bot to a Team at all. Can a bot be built that is only available for 1:1 chats? How can it be made available so that adding it to a specific Team is not necessary? I found instructions for testing a bot in 1:1 chat

Two-way communication between VSTO add-in and a Task Pane app (JS/HTML)

五迷三道 提交于 2019-12-08 12:52:43
问题 Is it possible to have a VSTO add-in and a JS/HTML based Task Pane app talk to each other when running inside desktop Office application? The goal would be to bridge capabilities not yet present (or never will be present) in the x-platform Office APIs using VSTO. 回答1: As Evgene mentioned, there is no out-of-the-box functionality for this (though the topic has certainly come up in internal discussions, so I would be very curious to hear your scenario, and particularly how you would handle the

Which SDK or API should I use to list and upload files into Office 365 sharepoint document libraries

我的未来我决定 提交于 2019-12-08 12:45:31
问题 What is the best way now (and in the near future) to list, upload and download files in a document library in Office 365 Sharepoint? I'm looking for .NET SDK's. There doesn't seem to be much support documentation available that targets this topic. There is the OneDrive SDK, the Office 365 Sharepoint SDK and the Graph API, but I can't find good examples. I prefer to make use of SDK's rather than than plain REST calls because I want to make use of the ADAL libraries in .NET for authenticating