Microsoft has depricated Exchange Web Services for O365. You would need to use the Graphi API instead. Details can be found in the latest 5.6.x Administration Guide.
Hello,
please, can you give more details about how to complete the setup for "incoming email" settings using a mailbox hosted in exchange online? Our setup worked perfectly for Exchange on-premise (based on Microsoft Exchange Web Services). After moving to Exchange online, we are not able to complete the setup.
Thank you!
Hi,
I think you want to use the Microsoft Graph API email server setting for your configuration, its in the Server Type pulldown. You will have to upgrade your XWS Software to 5.5.17.87 or greater to get this setting.
Thanks
XMP Admin.
Mobile print no longer works after mailbox has been moved to exchange online. XWS does not connect to the mailbox ( Exception: The request failed. The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)
we are using a sevice account to access the the mailbox. the incoming mailbox config is the default
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://mn2pr10mb3342.namprd10.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 SubEnd Class