One Azure VM terminal server user account cannot connect with Outlook 365 desktop app

Amy Watson 0 Reputation points
2023-02-05T15:56:53.7366667+00:00

Reposting here after asked to move to this forum...
We have an Azure virtual machine terminal server running MS Datacenter 2016. Users log in via RDP with their Microsoft Azure accounts. They have E3 licenses. Recently, a single user started having issues with Outlook desktop. I am not able to create a new mail profile for her while logged into the server as her or when logged in with the admin account. I have gotten these errors:
-Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Microsoft Exchange is currently busy.

-Outlook cannot log on. Verify you are connected to the network and are using the proper server and mailbox name. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.

If I try to set up a mail profile for her account on a regular computer, it works.
I set up a new account for a different employee on the same server and it worked.

I tried creating an alias for her account and using that to set up a mail profile on the terminal server, and it did not work (while logged in as her or as the admin account).

I tried editing the registry by renaming "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook" to Outlook1 or something similar multiple times… logged out of her account on the server and back on, etc. It did not help.

I ran Microsoft Remote Connectivity Analyzer with modern authentication on her account, and it fails at "Testing MAPI over HTTP connectivity to server outlook.office365.com." I don't know if this is the cause of the problem, but here is part of the output:
Testing the address book "Check Name" operation for user [xxx@****] against server outlook.office365.com.

An error occurred while attempting to resolve the name.

Additional Details

A protocol layer error occured. HttpStatusCode: 500
Failure LID: 47372
Failure Information:

REQUEST ...

POST /mapi/nspi/?mailboxId=[removed] HTTP/1.1
Content-Type: application/octet-stream
User-Agent: MapiHttpClient
Authorization: Bearer [truncated] ...
ClientApplication: MapiHttpClient/ ... X-RequestType: Bind Host: outlook.office365.com Content-Length: 45
--- REQUEST BODY [+0.010] --- ..[BODY SIZE: 45] --- REQUEST SENT [+0.010] --- ###### RESPONSE [+0.239] ###### HTTP/1.1 500 request-id: ... X-RequestType: Bind x-ms-diagnostics: 2000007;reason="Type with name 'Microsoft.Exchange.Data.Directory.VariantConfiguration.ABComparison.ILdapWriteABComparisonHelperSettings' is not found. Please check spelling and that necessary assembly is loaded in the AppDomain.";error_category="internal_error" ... X-FailureContext: BackEnd;500;;;;;
X-RequestType: Bind x-ms-diagnostics: 2000007;reason="Type with name 'Microsoft.Exchange.Data.Directory.VariantConfiguration.ABComparison.ILdapWriteABComparisonHelperSettings' is not found. Please check spelling and that necessary assembly is loaded in the AppDomain.";error_category="internal_error" ... error="invalid_token" X-Powered-By: ASP.NET HTTP Status Code: 500 InternalServerError

 

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,835 questions
Microsoft Exchange Online
Outlook
Outlook
A family of Microsoft email and calendar products.
3,009 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,901 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,191 questions
{count} votes

6 answers

Sort by: Most helpful
  1. JonB93_93 0 Reputation points
    2023-02-14T21:25:12.8533333+00:00

    I'm having the same issue. One user and have tried everything imaginable.

    0 comments No comments