The error tag 58tm1 paired with error code 2147942403 typically indicates issues related to authentication or file access permissions in Outlook. These errors are common in environments using Remote Desktop Services (RDS) with FSLogix profiles and can be associated with problems in the Microsoft.AAD.BrokerPlugin or corrupted cached credentials.

Update FSLogix to the Latest Version

Updating FSLogix ensures compatibility and may resolve errors caused by outdated software.

  1. Download the latest version of FSLogix from the official Microsoft website.
  2. Install the update on all RDS host servers in your environment.
  3. Reboot the servers to apply the updates.

Re-register Microsoft.AAD.BrokerPlugin

The Microsoft.AAD.BrokerPlugin manages authentication for Microsoft accounts. Re-registering this plugin can fix authentication-related errors.

  1. Open PowerShell with administrative privileges on the affected server.
  2. Execute the following command to check and re-register the plugin:
if (-not (Get-AppxPackage Microsoft.AAD.BrokerPlugin)) {
    Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
}
Get-AppxPackage Microsoft.AAD.BrokerPlugin
  1. Restart the server to ensure the changes take effect.

Delete the Microsoft.AAD.BrokerPlugin Folder

Removing the plugin's folder forces Outlook to recreate necessary files, potentially fixing the error.

  1. Close all Microsoft Office applications on the user's session.
  2. Navigate to the following directory:
C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
  1. Delete the Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy folder.
  2. Log off and log back into the RDS session.
  3. Launch Outlook and sign in when prompted.

Clear Cached Credentials

Outdated or corrupted cached credentials can cause authentication failures. Clearing them can resolve the error.

  1. Open the Control Panel and select Credential Manager.
  2. Choose Windows Credentials.
  3. Locate any credentials related to Outlook or Microsoft Office.
  4. Click on each and select Remove.
  5. Restart Outlook and enter your credentials when prompted.

Repair the Microsoft Office Installation

Repairing Office can fix corrupted files that may be causing the error.

  1. Press Win + I to open Windows Settings.
  2. Go to Apps and select Installed Apps.
  3. Find Microsoft 365 or Office in the list.
  4. Click the three dots next to it and choose Modify.
  5. Select Quick Repair and follow the prompts.
  6. If the issue persists, repeat the steps and choose Online Repair.

Things to know

  • Ensure that user accounts are not duplicated in Active Directory and Azure AD.
  • Check for any mismatches in user principal names (UPNs) that might cause authentication issues.
  • Verify that all RDS hosts have consistent configurations regarding FSLogix and Office installations.

By following these steps, you should be able to resolve the Outlook error tag 58tm1 and error code 2147942403, restoring normal operation to your email client.