office365

Accessing the Microsoft Graph API through JavaScript

回眸只為那壹抹淺笑 提交于 2020-01-07 03:07:55
问题 I am looking for a JavaScript example to play with the Microsoft Graph API. Although I have found https://github.com/OfficeDev/O365-Angular-Microsoft-Graph-Connect; I don't get it to work. Do I need to be an AAD admin to get it properly registered? I am only a regular user of my organization's Office365 tenant. I have used the wizard at http://graph.microsoft.io/app-registration. I both registered the app via 1) the current Registration Tool and 2) the new Registration Portal. Both routes

Accessing the Microsoft Graph API through JavaScript

[亡魂溺海] 提交于 2020-01-07 03:07:27
问题 I am looking for a JavaScript example to play with the Microsoft Graph API. Although I have found https://github.com/OfficeDev/O365-Angular-Microsoft-Graph-Connect; I don't get it to work. Do I need to be an AAD admin to get it properly registered? I am only a regular user of my organization's Office365 tenant. I have used the wizard at http://graph.microsoft.io/app-registration. I both registered the app via 1) the current Registration Tool and 2) the new Registration Portal. Both routes

Microsoft Graph does not work with ADFS?

主宰稳场 提交于 2020-01-06 21:02:08
问题 I get the following message when trying Graph Explorer. Does Microsoft Graph support ADFS authentication? Regard Dat. Sign In Sorry, but we’re having trouble signing you in. We received a bad request. Additional technical information: Correlation ID: 61daeae5-d95b-4d2f-a32c-880021f0b437 Timestamp: 2016-07-20 21:17:14Z AADSTS90093: Calling principal cannot consent due to lack of permissions. 回答1: Both the Microsoft Graph and the Graph Explorer leverage Azure Active Directory for authentication

Excel 365 Print Preview

╄→尐↘猪︶ㄣ 提交于 2020-01-06 20:18:09
问题 I'm using Excel 365 on Windows 7 Home 64bit. When I open Print Preview from the Excel user interface I get a window with options like this: https://www.flickr.com/photos/132482128@N08/21711947524/in/dateposted-public/ From this window I can preview the whole print file, make adjustments to margins, select the printer to use, etc. I would like to access this window and these options from VBA. However when I use: ActiveWorkbook.Sheets("SheetName").PrintOut Preview:=True or: ActiveWorkbook

Odata v.4 $filter for the DateTime Calendar Events in the Office 365 REST API

不打扰是莪最后的温柔 提交于 2020-01-06 20:15:12
问题 I am trying to get and filter Calendar events from the Office 365 REST API with the following query: https://outlook.office.com/api/v2.0/users/user@user.com/calendars/AAAAAAAAAAA/events?$top=100&$select=BodyPreview&$filter=Start ge 2016-02-10T22:00:00Z So I want 100 results with only the BodyPreview as return value for all Events greater than 2016-02-10 22:00:00. The Error Message I receive is this one: ERROR request returned 400 error: code: 'RequestBroker-ParseUri', message: 'A binary

Retrieving an access token with admin consent : how access the data of all the users of the organization?

一笑奈何 提交于 2020-01-06 08:49:17
问题 In my third-party web application of Office 365, I want to have access to the contacts, events and emails of all the users from the organizations who installed my app. The thing is I don't want that all these users have to grant me access, I just want one admin of the org to grant access for my app and then be able to retrieve the data I need for all the users. To test for one organization, I logged in as the admin and proceed to the Oauth2 authentication to retrieve the access token and in

Office365 - Rest API - Message ItemAttachment loosing headers & attachments when forwarded

拜拜、爱过 提交于 2020-01-06 08:42:06
问题 I'm trying to send the email as an attachment to a user by creating draft message then attaching the #Microsoft.OutlookServices.ItemAttachment using /attachments The Item parameter sent in /attachments API call is the object received from API call made to get-a-message. But when the email is received the ItemAttachment is missing the original email headers and the original email attachment. The attachment is having only the following headers: From: --Removed-- To: --Removed-- Subject: -

OData Search with Office 365 Mail API .NET Client

我与影子孤独终老i 提交于 2020-01-06 08:34:06
问题 I need to perform an OData query $search = "subject:pizza" using the OutLook 365 API but using the Outlookservicesclient (found the in the outlook 365 sdk, this nuget https://www.nuget.org/packages/Microsoft.Office365.OutlookServices-V2.0/) See this OutLookAPI OData query Reference This works correctly using an HttpClient but with the .NET client library, its seemingly not possible to add any non-standard query parameters. Ie: var messages = await client.Users['mail@me.com'].Messages .Where(m

Outlook.MailItem.HTMLBody doesn't refresh when updated under inline response

梦想的初衷 提交于 2020-01-06 07:11:55
问题 When setting MailItem.HTMLBody for a inline response, sometimes the updated body never gets displayed. If I make a call to MailItem.Save() , sometimes it shows up but only under saved draft preview. Does anyone know of a way to force the updated HTMLBody to render? Some addition findings: For emails with only plain text (but MailItem.BodyFormat is OlBodyFormat.olFormatHTML ), this always happens. For emails with HTML content and images, this happens if user chooses to download external

Outlook.MailItem.HTMLBody doesn't refresh when updated under inline response

泄露秘密 提交于 2020-01-06 07:11:15
问题 When setting MailItem.HTMLBody for a inline response, sometimes the updated body never gets displayed. If I make a call to MailItem.Save() , sometimes it shows up but only under saved draft preview. Does anyone know of a way to force the updated HTMLBody to render? Some addition findings: For emails with only plain text (but MailItem.BodyFormat is OlBodyFormat.olFormatHTML ), this always happens. For emails with HTML content and images, this happens if user chooses to download external