office365

Office 365 Graph API $top not being honoured on delta queries

前提是你 提交于 2020-01-03 08:47:13
问题 The Office 365 Graph API documentation suggests that $filter and $top operations should be supported when used together on a delta query... https://developer.microsoft.com/en-us/graph/docs/concepts/delta_query_messages#track-message-changes-in-a-folder However, when executing a query that uses both $filter and $top such as this: https://graph.microsoft.com/beta/me/mailfolders/AAMkADQ3MDg1NWRmLTUxMGQtNDRiMi1iMGE4LTAzMzdjNGRiYTIxNQAuAAAAAADEPuholyn_QpUTcq2qMEH4AQBScDrPb

Exception using default SMTP credentials on Office365 - Client was not authenticated to send anonymous mail during MAIL FROM

房东的猫 提交于 2020-01-03 07:18:57
问题 I'm using NLog to send logs as email with a custom mail target. I am sending from my office365 account set up as the default in my web.config (of my main project) as follows: <system.net> <mailSettings> <smtp deliveryMethod="Network" from="myusername@mydomain.com"> <network defaultCredentials="false" host="smtp.office365.com" port="587" userName="myusername@mydomain.com" password="mypassword" enableSsl="true" /> </smtp> </mailSettings> </system.net> I override the Write method with my log

Office 365 unified API (preview) requests 401 error

江枫思渺然 提交于 2020-01-03 06:01:08
问题 I'm trying to make some intersting things with Office 365 unified API (preview) and stuck on the moment with authorization. I made app with all permissions that I need I'm trying to log in users with URL "https://login.windows.net/common/oauth2/authorize?response_type=code&client_id={CLIENT_ID}&resource=https://graph.microsoft.com/" Evething works well. I even can get access_token with all scopes by request to https://login.windows.net/common/oauth2/token. BUT! I have problem, I cant get any

Accessing other user calendar using service account

大城市里の小女人 提交于 2020-01-03 05:25:09
问题 We are trying to integrate office 365 using EWS managed API's. We have created one service account with impersonation role using office 365 admin center. Now, how can we use that service account to access other user's data(like mails, contacts, calendar) in the application ? Thanks, Rohit 回答1: You create an instance of ExchangeService as usual and then set its ImpersonatedUserId. Sample: var credentials = new WebCredentials( "impersonateduser@your.onmicrosoft.com", "password", ""); var

Exchange Online - Unable to change end time of event in progress

雨燕双飞 提交于 2020-01-03 03:54:05
问题 Assume the following: In Office365 a room resource has been created with the default settings. A meeting is booked at this room. The meeting has started. The organizer then changes the end-time of the meeting (either to extend it or end it early). The room auto-replies with Your meeting request was declined. The invitation was declined because it occurred in the past. Interestingly, at this point, the event then completely disappears from the room's calendar - as if it never existed. This is

Unable to set isOrganizerOptional parameter, in findMeetingTimes

前提是你 提交于 2020-01-03 02:25:08
问题 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": {

Download file from SharePoint

断了今生、忘了曾经 提交于 2020-01-01 19:05:23
问题 I'm using the REST APIs of SharePoint to query the files hosted inside a corporate user's Office 365 SharePoint site. I have used OAuth to authenticate the user and authorize the the app, as described here: http://msdn.microsoft.com/en-us/library/azure/dn645542.aspx I am able to successfully query the API with a GET request on: https://XXXXXXX.sharepoint.com/sites/xxxxx/xxxxx/myfoldername/_api/files (the request as the Authorization header set to 'Bearer ', as you'd expect.) The above query

Access CustomProperties set using office365 JS APIs from EWS or REST API

烂漫一生 提交于 2020-01-01 12:33:13
问题 I have an office 365 mail app that stores a value in a custom property before the item is saved. When the item is saved I want to access this property using a server-side application. Reading through the custom properties documentation tells me I can't access custom properties created using the JS API using any other service like EWS since these are not MAPI properties. Are there any workarounds ? Is it possible to access these using REST APIs ? 回答1: Actually, it is documented where they are

微软到底有多恐怖?

徘徊边缘 提交于 2020-01-01 08:37:10
最近在做Office365开发,所以了解了微软云和Office365,这里给大家截图看看微软到底有多少功能,看看你会多少知识? (1)微软云服务体系列表。 这是一个大类,每个类别点进去,都是更细的小类。 (2)Office365 微软Office365可能大家更熟悉,里面有word,excel,powerpoint,outlook,sharepoint... 每一个都是巨无霸 来源: https://www.cnblogs.com/mqingqing123/p/12128210.html

Get ADFS Token in Powershell

吃可爱长大的小学妹 提交于 2020-01-01 07:55:07
问题 We have an ADFS 2.0 Environment that is used to federate our Active Directory domain with Office 365. Recently we had an issue where the cluster stopped responding which in turn broke email/calendar access for all of our users. As we don't have any monitoring for ADFS currently I am trying to write a PowerShell script that will periodically attempt to authenticate to our ADFS cluster and get a valid token similar to the SSO test at testexchangeconnectivity.com works. It appears that the token