UTS Outlook Issues
DISCLAIMER: The information in this guide is provided "as is" without any guarantee of completeness, accuracy, timeliness, or of the results obtained from the use of this information. The author assumes no responsibility for any errors or omissions in the content. It is meant for general information purposes only and should not be used as a substitute for professional advice. The author is not responsible for any damages caused by the use of this information. By using this guide, you agree to hold the author harmless from any and all claims, damages, or expenses that may arise from your use of the information.
Introduction
UTS response plan for general Microsoft AAD Broker Plugin issues. All Windows file and registry changes occur at the user profile level and require the user to be logged in to the session host environment.
Requirements
- Configuration changes should be made under the logged-in user's remoted desktop (session host) session..
- DO NOT use "Run as administrator" for any of the utilities (e.g., Windows Registry, PowerShell, etc.) in this guide.
Instructions
- Connect to the user's computer to identify the remote desktop session and server they're connected to. You can make changes either from the user's remote computer or directly on UTS-AZ-RDSH1 or UTS-AZ-RDSH2 via Screen Connect. After determining which server hosts the active session, record the server, time/date, and username. Tracking these occurrences is essential.
- Sign out of all Office apps (Outlook, etc.).
- Close all Office apps (Outlook, etc.).
- Sign out of the remote desktop environment.
- Sign in to the remote desktop environment (as the user).
- Open PowerShell (as the user, DO NOT Run as an Administrator), and paste the following contents into the PowerShell console and press the Enter key.
PowerShell should run in the "User" context rather than the "Administrator" context to modify the "HKCU" (HKEY_CURRENT_USER) registry hive. Running PowerShell as an Administrator accesses the wrong HKCU - the Administrators' registry hive, which does not require modification.
# Adds/sets Office identity values in the CURRENT USER registry hive (HKCU) # Run in the user context. $regPath = 'HKCU:\Software\Microsoft\Office\16.0\Common\Identity' # Ensure the key exists if (-not (Test-Path $regPath)) { New-Item -Path $regPath -Force | Out-Null } # Values to set $values = @{ DisableAADWAM = 1 DisableADALatopWAMOverride = 1 EnableADAL = 1 } # Create or update each value foreach ($name in $values.Keys) { New-ItemProperty -Path $regPath -Name $name -PropertyType DWord -Value $values[$name] -Force | Out-Null } # Show final values Get-ItemProperty -Path $regPath -ErrorAction SilentlyContinue | Select-Object DisableAADWAM, DisableADALatopWAMOverride, EnableADALWhat
DisableAADWAM=1changes:
It tells Office apps (Outlook/Word/Excel/etc.) not to use Windows Web Account Manager (WAM), which relies on the Microsoft.AAD.BrokerPlugin cache and Windows account token broker. Office will fall back to its built-in authentication path.
What
EnableADA=1changes:
Enables Office ADAL/modern authentication behavior per user (commonly associated with Azure AD sign-in for Office). - In the Windows File Explorer, delete the contents of:
%LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewyAfterwards, verify all contents have been deleted.
- Sign out of the remote desktop environment.
- Sign in to the remote desktop environment (as the user).
- Sign in to Outlook.
- Report or document any errors to the Integrations Team and Adam.
Troubleshooting
N/A
Sources
KB Change/Issue Log
yyyy/mm/dd - Title
Issue
N/A
Solution
N/A
Sources
- N/A
KB Meta
|
Page Includes |
@9#bkmrk-callout-danger-NoResponsibilityDisclaimer-5wod5ufe |