cancel
Showing results for 
Search instead for 
Did you mean: 

XWS 5.4.110.38/ Mobileprint mailbox move to exchange online

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 

Server Address: https://outlook.office365.com/EWS/Exchange.asmx
incoming Email Address: xyz@domain
 
domian name- fQDN
Username: service account  
Password:  service account Password
 
we get the below when connecting to the  exchnage url from the xws management server
 

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
 
 
 
 

 

 

 

 

0 Kudos
3 Replies
XMP_Admin
Xerox Employee
Xerox Employee

Re: XWS 5.4.110.38/ Mobileprint mailbox move to exchange online

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.

"Innovating how the world communicates, connects and works."
0 Kudos
JoeCadford
New Member
New Member

Re: XWS 5.4.110.38/ Mobileprint mailbox move to exchange online

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!

0 Kudos
XMP_Admin
Xerox Employee
Xerox Employee

Re: XWS 5.4.110.38/ Mobileprint mailbox move to exchange online

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.

"Innovating how the world communicates, connects and works."
0 Kudos