office365

Error sending email using nodemailer via Office365 smtp (MEANjs scaffold)

无人久伴 提交于 2019-12-18 15:48:06
问题 I'm trying to use Office365 SMTP to send email using Nodemailer (in a MEANjs scaffold), but I get the following error: [Error: 140735277183760:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:795:] I'm using the following Nodemailer options: { host: 'smtp.office365.com', port: '587', auth: { user: 'xxxx', pass: 'xxxx' }, secure: 'false', tls: { ciphers: 'SSLv3' } } Removing the tls field doesn't make a difference. What am I missing?

Exchange Online - Get-UserPhoto - how to catch non terminating error?

不问归期 提交于 2019-12-18 07:08:52
问题 I'm trying to export a list of all users with no photo from our Exchange Online account using powershell. I cannot get it to work and have tried various methods. Get-UserPhoto returns this exception when there is no profile present. Microsoft.Exchange.Data.Storage.UserPhotoNotFoundException: There is no photo stored here. First of all I tried use Errorvariable against the command but received: A variable that cannot be referenced in restricted language mode or a Data section is being

Limit access to groups or individual mailboxes using a service application in Azure Ad

試著忘記壹切 提交于 2019-12-18 05:17:21
问题 I have an Azure integrated service application (daemon app) with permissions to the Microsoft graph api, I can now read all the mailboxes for the entire company, which is awesome but might raise some concerns with the business management. We use Outlook in Office 365.Is there a way to specify mailboxes that the app can have access to instead of having access to all mailboxes/users. 回答1: The daemon app which use the client credential to acquire the access token. The client credential flow is

Office 2016 -> 2013 “compile error, can't find project or library”

风流意气都作罢 提交于 2019-12-18 04:59:14
问题 I just upgraded to Office 2016, which most of my users haven't done, and I'm getting a new error when users try to run my scripts. "Compile Error, can't find project or library" I looked in the references and it looks like it's trying to reference the "Microsoft Word 16.0 Object Library" and it's missing on machines running Office 2013. I don't see the option to change my reference to a 2013 version, and I don't know how to give my users access to the 2016 reference without upgrading everyone

Office 365 REST API - Access meeting rooms calendars

廉价感情. 提交于 2019-12-18 04:14:21
问题 Using the Office 365 API, we'd like to allow users to view meeting rooms calendars and reserve them for events according to their permissions within Office 365. I understand it's possible with an Admin consent using a service app, but this is not possible for all our use cases. We need to work with the user's actual permissions and not bypass them with the admin's permissions in the background. I also understood based on this question and that question that it was not possible to do so using

Office 365 REST API list resources (meeting rooms)

六月ゝ 毕业季﹏ 提交于 2019-12-18 04:08:44
问题 I have a question about Office365 REST API. Is there a way to obtain list of resources - meeting room calendars. I can only get meetings that will take place in room if I know meeting room username. https://outlook.office365.com/api/v1.0/users/room1@xxxx.onmicrosoft.com/calendars Can I list all meeting rooms and obtain their calendars? 回答1: You can use the Azure AD Graph API to query the list of users. However, there is no field in the API that marks a user as being a conference room.

Skype for Business Web SDK samples not working

我只是一个虾纸丫 提交于 2019-12-17 22:02:02
问题 I have downloaded the Skype Web SDK samples from here, but I can't make them work. I have registered a trial Office 365 account ( dotnetsolutionsdemos.onmicrosoft.com ) and I have a user there ( adam@dotnetsolutionsdemos.onmicrosoft.com ). If I run the desktop version of Skype for Business then I can log in with my account so it seems that the Lync service does work. I have installed the Skype for Business Web App Plug-in, put the sample code under IIS and opened it via a browser. Then I

What browser / browser engine do Office Add-ins use?

你说的曾经没有我的故事 提交于 2019-12-17 16:59:47
问题 So I am trying to get started developing Office 365 Add-ins (previously Apps for Office), and I was wondering what browser or browser engine Office uses when it renders your app. I tried using JavaScript's navigator.appCodeName and navigator.appName , but due to the problem described here renders that method useless. What browser or engine do Office Add-ins use to render apps? 回答1: It depends on where Office is being used. If it's on Windows Desktop, Office Add-ins use an Internet Explorer to

Connection to Office 365 by EWS API

僤鯓⒐⒋嵵緔 提交于 2019-12-17 16:27:04
问题 I am using EWS API in my console application to process mailbox items and my connection script looks like ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1); service.UseDefaultCredentials = true; service.AutodiscoverUrl("emailService@domain.com"); But i found that my email account was moved to Office 365 cloud. How should i change the authentication ? i found EWS service url service.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx"); but i dont know

Send SMTP email using System.Net.Mail via Exchange Online (Office 365)

冷暖自知 提交于 2019-12-17 10:23:43
问题 We are testing the new Office 365 beta, and i have a mail account on the Exchange Online service. Now I'm trying to connect a LOB application that can send smtp emails from my test account. However the Exchange 365 platform requires TLS encryption on port 587, and there is a 'feature' of System.Net.Mail that does not permit Implicit SSL encryption. Has anyone managed to get C# sending mails via this platform? I have the following basic code that should send the mail - any advice would be