Outlook displays "need password" authentication dialog isn't shown on Win10 Enterprise multi-session

%3CLINGO-SUB%20id%3D%22lingo-sub-1289230%22%20slang%3D%22en-US%22%3EOutlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%20multi-session%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1289230%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%20issues%20have%20been%20reported%20related%20to%20logon%20in%20Office%20ProPlus%20on%20Windows%2010%20Enterprise%20multi-session.%20One%20specific%20example%20is%20O%3CSPAN%3Eutlook%20showing%20%22need%20password%22%20however%20the%20authentication%20prompts%20are%20never%20presented%20to%20the%20user.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20could%20be%20caused%20by%20VMs%20listed%20in%20a%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22registered%22%20state.%20This%20can%20be%20observed%20in%20the%20Azure%20Portal%20-%26gt%3B%20Azure%20Active%20Directory%20-%26gt%3B%20Devices.%26nbsp%3B%3CBR%20%2F%3EVMs%20can%20get%20to%20this%20state%20when%20a%20user%20selects%20the%20%22use%20this%20account%20everywhere%22%20prompt%20from%20an%20Office%20app%2C%20this%20can%20be%20done%20by%20standard%20(non-admin)%20users%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20two%20ways%20of%20preventing%20this%3A%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EFor%20AD%20joined%20VMs%2C%20follow%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Ffaq%23q-how-can-i-block-users-from-adding-additional-work-accounts-azure-ad-registered-on-my-corporate-windows-10-devices%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%26nbsp%3B%3C%2FA%3Eguidance%20on%20how%20to%20prevent%20the%20VMs%20from%20being%20registered.%20When%20using%20Azure%20AD%20DS%2C%20this%20is%20the%20only%20supported%20option.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Fhybrid-azuread-join-plan%23handling-devices-with-azure-ad-registered-state%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EConfigure%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ehybrid%20Azure%20Active%20Directory%20join%20for%20managed%20domains%20(preferred)%26nbsp%3B%20%26nbsp%3B%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EIf%20a%20profile%20solution%20is%20used%2C%20this%20could%20require%20a%20reset%20of%20the%20users%20profile.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegistering%20is%20supposed%20to%20be%20done%20against%20another%20tenant.%20Registering%20to%20the%20same%20tenant%20as%20the%20device%20is%20AD%20joined%20can%20cause%20issues.%26nbsp%3BWe%20are%20making%20changes%20to%20the%20Windows%2010%20multi-session%20image%20in%20the%20Azure%20gallery%20to%20prevent%20users%20from%20registering%20VMs.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1724020%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724020%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63584%22%20target%3D%22_blank%22%3E%40Pieter%20Wigleven%20(WINDOWS)%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Peter%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20currently%20deploying%20a%20WVD%20solution%20for%20a%20client%20using%20the%20Windows%2010%20Multi-session%201909%20%2B%20M365%20apps%20marketplace%20image%20%2B%20FSLogix.%20Our%20session%20hosts%20are%20joined%20to%20a%20Windows%20Server%20Active%20Directory%20Domain%20running%20in%20Azure%20(IaaS)%20which%20is%20in%20sync%20with%20Azure%20AD.%20When%20Outlook%20is%20launched%20from%20the%20desktop%20for%20the%20first%20time%20a%20user%20is%20prompted%20to%20enter%20their%20password%20instead%20of%20SSO.%20Is%20this%20by%20design%3F%20Do%20we%20need%20to%20Hybrid%20Azure%20AD%20Join%20our%20WVD%20sessions%20hosts%20in%20order%20to%20achieve%20SSO%20from%20within%20the%20desktop%20for%20M365%20apps%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1724072%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724072%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pieter%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20currently%20deploying%20a%20WVD%20solution%20for%20a%20client%20using%20the%20Windows%2010%20Multi-session%201909%20%2B%20M365%20apps%20marketplace%20image%20%2B%20FSLogix.%20Our%20session%20hosts%20are%20joined%20to%20a%20Windows%20Server%20Active%20Directory%20Domain%20running%20in%20Azure%20(IaaS)%20which%20is%20in%20sync%20with%20Azure%20AD.%20When%20Outlook%20is%20launched%20from%20the%20desktop%20for%20the%20first%20time%20a%20user%20is%20prompted%20to%20enter%20their%20password%20instead%20of%20SSO.%20Is%20this%20by%20design%3F%20Do%20we%20need%20to%20Hybrid%20Azure%20AD%20Join%20our%20WVD%20sessions%20hosts%20in%20order%20to%20achieve%20SSO%20from%20within%20the%20desktop%20for%20M365%20apps%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELook%20forward%20to%20your%20response.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1724267%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724267%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63584%22%20target%3D%22_blank%22%3E%40Pieter%20Wigleven%20(WINDOWS)%3C%2FA%3E%26nbsp%3BI%20know%20this%20has%20been%20mentioned%20on%20another%20thread%20but%20no%20harm%20mentioning%20it%20here%20too.%20Yesterday%20the%20following%20fixed%20it%20for%20a%20user%20of%20ours%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EAdd-AppxPackage%20-Register%20%22C%3A%5CWindows%5CSystemApps%5CMicrosoft.AAD.BrokerPlugin_cw5n1h2txyewy%5CAppxmanifest.xml%22%20-DisableDevelopmentMode%20-ForceApplicationShutdown%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1725010%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1725010%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F813149%22%20target%3D%22_blank%22%3E%40werdd%3C%2FA%3E%26nbsp%3BYes%20-%20for%20SSO%20the%20VM%20will%20have%20to%20be%20hybrid%20Azure%20AD%20Joined.%20Thanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1725023%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1725023%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F211717%22%20target%3D%22_blank%22%3E%40David%20Brophy%3C%2FA%3E%26nbsp%3BThanks%20for%20sharing%20David.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1732884%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1732884%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pieter%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20configured%20Hybrid%20Azure%20AD%20Joined%20and%20now%20all%20of%20our%20session%20hosts%20appear%20correctly%20under%20Azure%20Active%20Directory%20%26gt%3B%20Devices%20with%20the%20type%20of%20'Hybrid%20Azure%20AD%20joined'%20and%20show%20a%20date%20timestamp%20under%20the%20registered%20column%20but%20we're%20are%20still%20experiencing%20SSO%20issues%20when%20launching%20any%20of%20the%20desktop%20Office%20applications%20as%20Teams%20will%20show%20the%20login%20page%20with%20the%20users%20email%20address%20and%20outlook%20will%20show%20a%20sign%20in%20to%20activate%20splash%20screen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESSO%20is%20working%20via%20Microsoft%20Edge%20for%20any%20Office%20service%20(OWA%2FSharePoint).%20Below%20is%20an%20output%20of%20dsregcmd%20%2Fstatus%20from%20a%20WVD%20session%20host%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22werdd_0-1601513650123.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F223193i2BA16DBA7E51AB61%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22werdd_0-1601513650123.png%22%20alt%3D%22werdd_0-1601513650123.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22werdd_1-1601513704163.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F223194i90CB2EA0A28AD3CF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22werdd_1-1601513704163.png%22%20alt%3D%22werdd_1-1601513704163.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUpdate%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOffice%20won't%20activate%20on%20the%20first%20run%2C%20it%20requires%20the%20application%20to%20be%20closed%20and%20then%20re-opened%20before%20the%20office%20activation%20status%20shows%20as%20%22Shared%20Computer%20Activation%22%20once%20activation%20occurs%20the%20licensing%20keys%20show%20under%20%25localappdata%25%5CMicrosoft%5COfficce%5C16.0%5CLicensing%20for%20the%20user.%20The%20policy%20setting%20for%20Use%20shared%20computer%20activation%20is%20configured%20and%20is%20present%20within%20the%20registry.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20the%20above%20is%20completed%20subsequent%20logins%20are%20fine%20for%20the%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20we%20missing%20any%20configuration%20that%20would%20be%20causing%20this%20behaviour%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1735659%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1735659%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F813149%22%20target%3D%22_blank%22%3E%40werdd%3C%2FA%3E%26nbsp%3BThe%20Hybrid%20Azure%20AD%20configuration%20looks%20good%20and%20you%20should%20have%20SSO%20to%20specific%20resources%20such%20as%20portal.office.com.%20I'm%20not%20sure%20what%20could%20cause%20Outlook%20to%20require%20a%20restart%20-%20it's%20outside%20of%20my%20expertise%20area.%20Do%20you%20feel%20the%20one-time%20restart%20of%20the%20program%20is%20a%20viable%20workaround%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1737397%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20displays%20%22need%20password%22%20authentication%20dialog%20isn't%20shown%20on%20Win10%20Enterprise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1737397%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pieter%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20getting%20back%20to%20me%2C%20appreciate%20your%20time.%20Yes%20SSO%20is%20working%20via%20the%20web%20for%20portal.office.com%20etc%20the%20issue%20is%20only%20present%20on%20the%20desktop%20office%20applications.%20Upon%20launching%20Outlook%20for%20the%20first%20time%20the%20user%20receives%20the%20below%20prompt%20to%20sign%20in%20and%20activate%2C%20I%20would%20have%20thought%20with%20SSO%20enabled%20it%20would%20silently%20complete%20the%20activation%20process%20in%20the%20background%20and%20show%20no%20prompts%20to%20the%20end%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Recently issues have been reported related to logon in Office ProPlus on Windows 10 Enterprise multi-session. One specific example is Outlook showing "need password" however the authentication prompts are never presented to the user.

 

This could be caused by VMs listed in a "registered" state. This can be observed in the Azure Portal -> Azure Active Directory -> Devices. 
VMs can get to this state when a user selects the "use this account everywhere" prompt from an Office app, this can be done by standard (non-admin) users

 

There are two ways of preventing this: 

  1. For AD joined VMs, follow this guidance on how to prevent the VMs from being registered. When using Azure AD DS, this is the only supported option.
  2. Configure hybrid Azure Active Directory join for managed domains (preferred)   

If a profile solution is used, this could require a reset of the users profile.

 

Registering is supposed to be done against another tenant. Registering to the same tenant as the device is AD joined can cause issues. We are making changes to the Windows 10 multi-session image in the Azure gallery to prevent users from registering VMs. 

7 Replies

Hi Pieter,

 

I'm currently deploying a WVD solution for a client using the Windows 10 Multi-session 1909 + M365 apps marketplace image + FSLogix. Our session hosts are joined to a Windows Server Active Directory Domain running in Azure (IaaS) which is in sync with Azure AD. When Outlook is launched from the desktop for the first time a user is prompted to enter their password instead of SSO. Is this by design? Do we need to Hybrid Azure AD Join our WVD sessions hosts in order to achieve SSO from within the desktop for M365 apps? 

 

Look forward to your response.

@Pieter Wigleven (WINDOWS) I know this has been mentioned on another thread but no harm mentioning it here too. Yesterday the following fixed it for a user of ours:

 

 

Add-AppxPackage -Register "C:\Windows\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown

 

 

@werdd Yes - for SSO the VM will have to be hybrid Azure AD Joined. Thanks 

Hi Pieter,

 

We've configured Hybrid Azure AD Joined and now all of our session hosts appear correctly under Azure Active Directory > Devices with the type of 'Hybrid Azure AD joined' and show a date timestamp under the registered column but we're are still experiencing SSO issues when launching any of the desktop Office applications as Teams will show the login page with the users email address and outlook will show a sign in to activate splash screen.

 

SSO is working via Microsoft Edge for any Office service (OWA/SharePoint). Below is an output of dsregcmd /status from a WVD session host:

 

werdd_0-1601513650123.png

werdd_1-1601513704163.png

 

Update:

 

Office won't activate on the first run, it requires the application to be closed and then re-opened before the office activation status shows as "Shared Computer Activation" once activation occurs the licensing keys show under %localappdata%\Microsoft\Officce\16.0\Licensing for the user. The policy setting for Use shared computer activation is configured and is present within the registry. 

 

Once the above is completed subsequent logins are fine for the user.

 

Are we missing any configuration that would be causing this behaviour?

 

 

@werdd The Hybrid Azure AD configuration looks good and you should have SSO to specific resources such as portal.office.com. I'm not sure what could cause Outlook to require a restart - it's outside of my expertise area. Do you feel the one-time restart of the program is a viable workaround?

Hi Pieter,

 

Thanks for getting back to me, appreciate your time. Yes SSO is working via the web for portal.office.com etc the issue is only present on the desktop office applications. Upon launching Outlook for the first time the user receives the below prompt to sign in and activate, I would have thought with SSO enabled it would silently complete the activation process in the background and show no prompts to the end user.