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
1 Reply
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