Does anyone know what Exchange OWA URL I should use for connecting to Office 365 via DavMail? Tried:
https://portal.microsoftonline.com/
https://pod51013.outlook.com/ews/exchange.asmx
https://pod51013.outlook.com/owa/
Many thanks
Does anyone know what Exchange OWA URL I should use for connecting to Office 365 via DavMail? Tried:
https://portal.microsoftonline.com/
https://pod51013.outlook.com/ews/exchange.asmx
https://pod51013.outlook.com/owa/
Many thanks
https://outlook.office365.com/EWS/Exchange.asmx is working for me after a frustrating few hours.
DavMail 4.7.2-2427, with "Exchange protocol" set to EWS.
A "/owa/" URL was in place up until I was forced to change my domain password yesterday. (We've got our domain server up in Azure and integrated with our 365 AD and get redirected to our own ADFS for authentication.... or something.)
Using the /owa/ url I was getting a "554 Authenticated failed All network interfaces down or host unreachable !" error out of DavMail which seemed to have been the result of the underlying Apache HTTP classes not liking the web-page it was getting back. ("Unrecognized cookie attribute: name=HttpOnly, value=null")
/owa/
URL was working fine, and before that, the podXXXXX.outlook.com
host was what I had been using successfully for several years. Neither of those other options seem to function anymore, and the DavMail ticket mentioned below has some context on that. –
Grind DOMAIN\username
to DOMAIN\[email protected]
. Thanks! –
Pyroclastic Go to mail.office365.com and you should be redirected to a [host].outlook.com/owa/ address. Use that as your OWA URL in DavMail and also be sure that "Enable EWS" is selected in the Advanced tab of DavMail settings. Use your full OWA domain as your username to log in (i.e. [email protected]) and you should be in there like a dirty shirt.
I got this from https://sourceforge.net/p/davmail/support-requests/236/.
davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
davmail.enableEws=true
then update Thunderbird/OUTLOOK to have yourusername@yourcompany, for both incoming and smtp and you should be good.
After testing several other possibilities, the value which was for working for me in property "OWA (Exchange) URL" was :
https://outlook.office365.com/owa/?realm=mycompany.com
Edit : This URL does not work anymore for me since 29/04/2016 (StringIndexOutOfBoundsException in cookie handling). Maybe it still works for some setups ?
This is now covered in the DavMail FAQ:
Office 365
Office 365 EWS endpoint is now standard for all customers: https://outlook.office365.com/EWS/Exchange.asmx
Also make sure you set mode to EWS in settings
Is Office 365 modern authentication / MFA supported ?
Office 365 modern authentication is available with the following modes:
- O365Interactive: will open an authentication window to let you enter your credentials and go through MFA check and
- O365Modern: same logic as O365Interactive, but use client provided credentials for Oauth negotiation, trigger PhoneApp MFA check transparently
Personally I didn't have any joy with O365Modern, but O365Interactive worked perfectly.
At http://help.outlook.com/en-us/beta/dd936216.aspx you'll find instructions on how to determine the name of your Office365 server under the question "How do I find the server settings?"
For example, your connection details might look like this:
Your Name
Help
Use these settings to access your email using POP, IMAP or SMTP.
POP setting Server name: xyz.outlook.com Port: 99999 Encryption method: SSL
IMAP setting Server name: xyz.outlook.com Port: 99999 Encryption method: SSL
SMTP setting Server name: xyz.outlook.com Port: 99999 Encryption method: TLS
Using the name of the server, you can form the name of the Exchange OWA server.
In this case:
https://xyz.outlook.com/owa/
There are also hints at http://help.outlook.com/en-au/140/dd125429.aspx
You can find your own URL by testing your account in https://testconnectivity.microsoft.com Then, search in the bunch of information to find it.
Sometimes, your company has its own servers and address and outlook.office365.com is not the way to go !
if you have a working Outlook setup you can CTRL-Right-Click on the Outlook Icon in the notification part of the task bar (system tray) and you will get an option called "Test E-mail auto configuration".
If you run that with your email address (password is not required) it will take a while and a report is shown. Look for a line that ends on exchanges.asmx and that is likely to be the URL you need.
I setup davmail wiht Office 365 this way and it works.
No, it's something with outlook.com... you can find the url within your administrative console.
Should be just the OWA URL like this: https://amsprd0302.outlook.com/owa/
If you always get error message like "authentication failed All network interface down davmail", maybe u should login https://outlook.office365.com/EWS/Exchange.asmx firstly, and it will tell you that:
You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe https://ch2pr19mb4024.namprd19.prod.outlook.com:444/EWS/Services.wsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:
C#
class Test
{
static void Main()
{
HelloClient client = new HelloClient();
// Use the 'client' variable to call operations on the service.
// Always close the client.
client.Close();
}
}
Visual Basic
Class Test
Shared Sub Main()
Dim client As HelloClient = New HelloClient()
' Use the 'client' variable to call operations on the service.
' Always close the client.
client.Close()
End Sub
End Class
Then you can send mail with smtp without problems!
© 2022 - 2024 — McMap. All rights reserved.