office365

Problems Accessing Office 365 Planner Data using Graph API (by application) due to 401 Unauthorized

孤人 提交于 2019-12-23 23:25:04
问题 I have been struggling with accessing planner data from office 365 using an application which I have setup in Azure. I have been able to successfully retrieve licensing and user information, but am unable to get a list of user tasks (from Planner). Further Clarification: I am trying to access other users planner data tasks, not my own. This is not a user facing application, a user never logs in. I am using the REST interface using my registered apps client/secret key in order to obtain a

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

Getting Bad Request Response with graph.microsoft.com, missing UPN and PUID claims

做~自己de王妃 提交于 2019-12-23 17:26:59
问题 We are trying to use the Office 365 Unified API to make requests against graph.microsoft.com. Authentication is successful, but the access token is missing the UPN and PUID, which means that the request against https://graph.microsoft.com/beta/me fails. Authentication Code: $code = $_GET['code']; //build the request body $tokenRequestBody = "grant_type=authorization_code&" . "redirect_uri=" . '<redirectURI>' . "&" . "client_id=" . '<cliendId>' . "&" . "client_secret=" . urlencode('

How to get user's exchange/outlook/office365 photo?

元气小坏坏 提交于 2019-12-23 17:20:07
问题 Our company is on Office 365. So when users sign in to my asp.net mvc website, I'd like to display their photo, like Outlook does. Where does outlook get the user's photo? And how I can get to it programmatically? I've tried hitting up the ActiveDirectory and fetching the thumbnailPhoto, but it's blank for most users. Thus Outlook must be getting it elsewhere. Where and how? I've also seen some examples where Microsoft.Office.Interop.Outlook assembly is used (assuming it requires Outlook

Task Pane Addin for outlook Web app

狂风中的少年 提交于 2019-12-23 15:54:19
问题 By command Add-in, task pane is going to appear to the right side of outlook desktop app. Similarly, is it possible to have task pane to appear to the right side in the Outlook Web app? Thanks in advance. 回答1: Following up with this. Addin Commands are now available on Outlook on the Web (OWA) and Outlook for Mac. If you have implemented an Addin Command for Outlook, it should work without modification for the newly implemented platforms. 回答2: Unfortunately, at the time of the writing it is

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

Outlook App - ADAL Authentication - AADSTS90056: This endpoint only accepts POST requests

不问归期 提交于 2019-12-23 10:58:27
问题 I'm working on an Outlook Add-in which authenticates the user against Azure AD and runs queries against SharePoint Online sites. The app uses AngularJS and makes use of the ADAL.js and ADAL-Angular.js libraries to conduct the authentication process. The app works well within the browser, however fails during the authentication process when used through the Windows Version of Outlook. Once the user inputs his username and password within the add-in in Outlook (Windows), and Internet Explorer

Single sign on between ASP.NET app and Office365 with on-premise ADFS STS

喜欢而已 提交于 2019-12-23 09:36:29
问题 I'm building an ASP.NET web app that authenticates users with Windows Identity Foundation. The organization has an on-premise ADFS STS. Their Office365 authenticates through Microsoft Federation Gateway with the on-premise STS. The new web app will also authenticate against the on-premise STS with WIF. Can I establish silent single sign on between the new app and the Office365 environment? So the user will not have to log into Office365 once he is logged into the web app and vice versa. 回答1:

Office 365 API EWS calendar not expanding recurring events

北战南征 提交于 2019-12-23 05:39:08
问题 I am using REST services with the new Office 365 API Preview. The following request returns the "Non-recurring appointments and recurring master appointments", but all "single occurrences of recurring series" are missing: https://outlook.office365.com/ews/odata/Me/Events?$top=30&$select=Subject,Start,End&$filter=End+ge+2014-12-01T01%3A00%3A00Z+and+Start+le+2015-02-01T01%3A00%3A00Z The EWS Managed API has a method ExchangeService.FindAppointments that expands a series of recurring calendar