office365

Accessing Office 365 user mail data with admin authorisation only

妖精的绣舞 提交于 2019-12-23 05:30:50
问题 I am currently building a simple web app the flow of which is: 1. Admin user for Office 365 provides auth and signs in 2. App retrieves all mail for all users in the domain It is possible to do this with Google Apps for business, i.e. retrieve mail for all users with only the admin auth. How would you go about doing this for Office 365? I am currently encountering this problem using the REST API - Get MS Exchange mail for all group members Is there another way? EWS? I have to believe it's

VBA to generate a default file name when Save As is selected in Word 2016

允我心安 提交于 2019-12-23 05:29:17
问题 I have VBA that, in Word 2010, will default a file name into the Save As screen when the user selects the Save As file option. Word 2016 (Office 365) has a different interface with a screen to select a save location (OneDrive, This PC,etc) prior to the "standard" Save As dialog box appearing which seems to have broken the code to generate a specified default file name. The code (with title simplified) is Sub FileSaveAs() With Dialogs(wdDialogFileSaveAs) .Name = "MyTitle" .Show End With End

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

Microsoft Web Addins “Office.context.mailbox.getCallbackTokenAsync” returns response “Failed” on my Exchange 2016 but works in office 365 online

ぐ巨炮叔叔 提交于 2019-12-23 04:40:43
问题 We have exchange 2016 sever which we have updated to CU-12 recently because we thought it might be the sever update thing, but now it seems it don't works with update too I am simply using Rest API with the help of passing token to get some fields from the current mail using Addin. But It throws an response "failed" every time when the function "Office.context.mailbox.getCallbackTokenAsync" is called. Code: 1 Office.context.mailbox.getCallbackTokenAsync({isRest: true, "asyncContext" : this._

nodemailer mail is not delivered into other domain like gmail, yahoo

∥☆過路亽.° 提交于 2019-12-23 04:28:27
问题 NodeJS with nodemailer mail is not delivered into other domain like gmail, yahoo from my company domain. var transporter = nodemailer.createTransport({ host: 'smtp.office365.com', port: 587, requireTLS: true, tls: { ciphers: 'SSLv3' }, secureConnection: false, // use SSL auth: { user: "XXX",// Your email id pass: "XXX"// Your password }, debug: true }); NodeJS v7.2.0 nodemailer v2.6.4 I am able to deliver mail into same domain network. Other domain not even getting any error and mail is not

Insert recurring event on office 365 api returns incorrect start and end date

故事扮演 提交于 2019-12-23 02:22:08
问题 I'm developing an Asp.net MVC App calendar, based on microsoft Office 365 Api. When I'm trying to insert an event server changes my start date and end date. I've tried on Microsoft Graph Api Explorer here: https://graph.microsoft.io/en-us/graph-explorer, with this event: { "subject": "TEST 11", "recurrence": { "pattern": { "type": "relativeYearly", "interval": 1, "month": 1, "dayOfMonth": 0, "daysOfWeek": [ "monday" ], "firstDayOfWeek": "sunday", "index": "first" }, "range": { "type": "noEnd"

Using Microsoft graph API to access O365 Myapps

感情迁移 提交于 2019-12-23 02:01:32
问题 I'm trying to get all of the apps that are available through my apps with the graph API and I don't see any call that allows me to do that. I've been reading their documentation here: https://msdn.microsoft.com/en-us/office/office365/api/api-catalog however, have been unable to find anything that pertains to my issue. 回答1: The documentation you are referring to is actually for the Office 365 API. The Graph API is available here: http://graph.microsoft.io/en-us/docs . While the two are similar

Is it possible to use OAuth 2.0 for Office365 SMTP?

与世无争的帅哥 提交于 2019-12-23 01:29:25
问题 I have an email application for sending emails that was written in house. We have set it with the option to use OAuth 2.0 with GMail (personal and business accounts) and Outlook.com accounts without issues. We can also authentication with user ids and passwords but we prefer OAuth 2.0 as we don't save passwords anywhere that way. We now have requests to do this for Office365 accounts. I notice that the hello message on the Office365 smtp server (smtp.office365.com port 587) does not offer the

How to set the UserInfo of a ADAL Token

谁都会走 提交于 2019-12-22 18:40:13
问题 So im building a ASP.NET web app that uses ADAL with Office 365 but I would like to have ADAL save the tokens so that the user will not have to log into Office each Session. I've looked all over the place and have figured out how to implement a token cache but I still don't know how to create the token with the current Users info so that I can retrieve it. Im sure it's as simple as adding a argument to one of the AcquireToken methods but I cant find out how. For referance this is what I have