SOLVED

Users are getting license warning and are disconnected after 60 minutes from WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-1007268%22%20slang%3D%22en-US%22%3EUsers%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1007268%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20have%20a%20situation%20that%20two%20minutes%20after%20logging%20into%20a%20WVD%20session%20(Win%2010%201903%20multi-user)%2C%20users%20are%20getting%20a%20warning%20about%20an%20invalid%20license%20and%20they%20will%20be%20logged%20off%20after%2060%20minutes.%20After%2060%20minutes%20the%20session%20is%20disconnected.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20logon%20there%20are%20two%20error%20events%20in%20the%20TerminalServices-RemoteConnectionManager%2FAdmin%20Event%20Log.%3C%2FP%3E%3CP%3EEvent%20ID%2050215%20%3A%20The%20Remote%20Desktop%20Session%20Host%20Server%20was%20unable%20to%20retrieve%20user%20license%20information%20from%20AAD.%20Error%3A%20CheckLicensingFromAAD%20-%20Read%20AccessToken%20Failed%3A%20hr%3D0x80070057%3C%2FP%3E%3CP%3EEvent%20ID%2050215%3A%26nbsp%3BThe%20Remote%20Desktop%20Session%20Host%20Server%20was%20unable%20to%20retrieve%20user%20license%20information%20from%20AAD.%20User%20%5BADDSDOMAIN%5CUserName%5D.%20hr%3D0x80070057%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20event%20log%20entries%20started%20in%20October%20already.%20I%20assume%20users%20are%20now%20getting%20the%20message%20after%20a%2030%20day%20grace%20period.%20The%20entire%20deployment%20is%20operational%20without%20any%20problems%20since%20July.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20users%20are%20licensed%20with%20M365%20E3.%20The%20AD%20DS%20and%20AAD%20are%20synchronized%20via%20AD%20Connect%20with%20Azure%20Hybrid%20Join%20enable.%20The%20problem%20affects%20all%20servers%20in%20two%20pools.%20All%20servers%20are%20registered%20in%20AAD%20and%20users%20are%20able%20to%20use%20SSO%20when%20logged%20in%20and%20using%20Office%20365%20applications.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20anyone%20can%20help%20us%20with%20this%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3CP%3ESascha%20Stops%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-1031929%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1031929%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23116%22%20target%3D%22_blank%22%3E%40Sascha%20Stops%3C%2FA%3E%26nbsp%3BThis%20is%20a%20known%20issue%20and%20we%20are%20updating%20our%20documentation%20while%20working%20on%20a%20fix.%20The%20fix%20will%20take%20a%20couple%20of%20weeks%2C%20probably%20looking%20at%20early%202020.%20I'd%20recommend%20to%20redeploy%20the%201903%20(or%201909)%20hosts%20where%20the%20grace%20period%20will%20be%20long%20enough%20to%20bridge%20the%20gap%20until%20the%20fix%20is%20pushed%20via%20Windows%20Update.%20Sorry%20for%20the%20inconvenience.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034298%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034298%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20just%20saw%20this%20in%20our%20logs%20as%20well%3B%20it's%20likely%20to%20hit%20us%20hard%20in%20a%20week%20or%20two%20--%20and%20it's%20very%20difficult%20for%20us%20to%26nbsp%3Bredeploy%20hosts%20(due%20to%20some%20painful%20legacy%20apps).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20more%20info%20available%20%2F%20alternative%20workarounds%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034467%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034467%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23116%22%20target%3D%22_blank%22%3E%40Sascha%20Stops%3C%2FA%3E%26nbsp%3BAny%20luck%3F%20Supposedly%20you%20can%20reset%20the%20timer%20by%20deleting%20a%20GracePeriod%20registry%20key%20(under%20'HKEY_LOCAL_MACHINE%5CSYSTEM%5CCurrentControlSet%5CControl%5CTerminal%20Server%5CRCM%5CGracePeriod').%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20might%20hold%20us%20over%20until%20a%20fix%20is%20released%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.hyper-v.io%2Freset-120-day-rds-grace-period-windows-server-2016-without-gui%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.hyper-v.io%2Freset-120-day-rds-grace-period-windows-server-2016-without-gui%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20those%20debugging%20this%2C%20we%20found%20that%20we%20have%20only%2015%20days%20remaining%20before%20we%20hit%20this%20bug.%20You%20can%20see%20remaining%20time%20by%20running%2C%20in%20an%20elevated%20powershell%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E(Invoke-WmiMethod%20-PATH%20(gwmi%20-namespace%20root%5Ccimv2%5Cterminalservices%20-class%20win32_terminalservicesetting).__PATH%20-name%20GetGracePeriodDays).daysleft%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034642%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034642%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20reply.%20I%20got%20the%20similar%20response%20today%20from%20the%20support%20case%20I%20opened.%20The%20support%20engineer%20mentioned%20that%20in%201909%20the%20problem%20would%20be%20fixed%20but%20only%20for%20new%20deployments%2C%20not%20for%20upgrades.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034660%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034660%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54051%22%20target%3D%22_blank%22%3E%40Nicholas%20Semenkovich%3C%2FA%3E%26nbsp%3B%20Hello%2C%20I%20have%20been%20told%20by%20the%20support%20engineer%20that%20there%20might%20be%20long%20term%20problems%20doing%20this.%20But%20I%20guess%20it%20does%20not%20matter%20if%20we%20rebuild%20now%20or%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20might%20give%20that%20a%20try%20one%20of%20the%20two%20host%20groups.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20response.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3ESascha%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1038102%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1038102%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54051%22%20target%3D%22_blank%22%3E%40Nicholas%20Semenkovich%3C%2FA%3E%26nbsp%3B%20That%20seems%20to%20work.%20At%20least%20it%20will%20give%20us%20some%20time%20to%20rebuild%20the%20servers%20with%20all%20legacy%20applications.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3ESascha%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1038810%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1038810%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23116%22%20target%3D%22_blank%22%3E%40Sascha%20Stops%3C%2FA%3E%26nbsp%3BThanks%20for%20letting%20me%20know!%20We'll%20probably%20do%20the%20same%20until%20the%20fix%20rolls%20out.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1055591%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1055591%22%20slang%3D%22en-US%22%3EHaving%20the%20same%20issue%20on%20deployment%20made%20this%20weekend.%3CBR%20%2F%3EUsers%20getting%20notification%20that%20they%20will%20be%20logged%20out%20in%202%20minutes.%3CBR%20%2F%3EFollowing%20eventlog%3A%20(sorry%20for%20dutch)%3CBR%20%2F%3EEr%20kunnen%20geen%20licentiegegevens%20voor%20gebruikers%20door%20de%20Extern%20bureaublad-sessiehostserver%20uit%20AAD%20worden%20opgehaald.%20Fout%20User%20DOMAIN%5Cuser%20%2C%20hr%20%3D%200x80070057%3CBR%20%2F%3E%3CBR%20%2F%3EEr%20kunnen%20geen%20licentiegegevens%20voor%20gebruikers%20door%20de%20Extern%20bureaublad-sessiehostserver%20uit%20AAD%20worden%20opgehaald.%20Fout%20CheckLicensingFromAAD%20-%20Read%20AccessToken%20Failed%3A%20hr%20%3D%200x80070057%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1057704%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1057704%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F468579%22%20target%3D%22_blank%22%3E%40knowlite%3C%2FA%3E%26nbsp%3BHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eaccording%20to%20Microsoft%20this%20is%20known%20bug%20in%201903%20and%201909.%20It%20will%20possibly%20fixed%20in%20January%202020.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20official%20guidance%20is%20to%20redeploy%20all%20servers%20so%20that%20you%20get%20a%20grace%20period%20(120%20days)%20that%20ends%20later%20than%20the%20patch%20release%20date.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20method%20of%20resetting%20the%20grace%20period%20in%20the%20registry%20of%20an%20already%20working%20system%20mentioned%20previously%20in%20this%20thread%20is%20not%20support%20by%20Microsoft%20and%20might%20have%20long-term%20effects.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EProbably%20not%20the%20response%20you%20were%20hoping%20for%2C%20but%20this%20is%20the%20information%20we%20received%20through%20this%20channel%20and%20Premier%20Support.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3ESascha%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-1057714%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1057714%22%20slang%3D%22en-US%22%3E120%20days%20should%20suffice%20until%20a%20fix%20is%20there.%20We%20deployed%20the%20servers%20this%20weekend%20%3B)%3C%2Fimg%3E%3CBR%20%2F%3EThough%20the%20issue%20is%20resolved%20now%20and%20was%20not%20related%20to%20this%20problem%20but%20due%20to%20the%20registry%20tweaks%20that%20were%20previously%20mentioned%20on%20MS%20Docs%20about%20the%20Active%20Session%20limit%20(set%20to%203%20hours%3F!).%20I've%20changed%20the%20parameters%20and%20sessions%20are%20now%20disconnecting%20without%20loosing%20their%20data%20and%20can%20stay%20active%20for%2016%20hours%20without%20issues.%20I%20hope%20we%20do%20not%20bump%20into%20this%20topics%20grace%20period%20ending%20before%20there%20is%20a%20fix%20from%20MS.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1069229%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1069229%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F468579%22%20target%3D%22_blank%22%3E%40knowlite%3C%2FA%3E%26nbsp%3BThis%20will%20be%20part%20of%20the%20(end%20of)%20januari%20fix.%20It's%20caused%20by%20the%20VM%20not%20being%20able%20to%20reach%20out%20to%20AAD%20(firewall%3F)%2C%20the%20fix%20will%20remove%20the%20check%20and%20need%20to%20contact%20AAD%20at%20all.%20Let%20me%20see%20what%20URL's%2FIP's%20etc.%20are%20needed%20so%20you%20could%20white-list%20in%20the%20interim.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1071123%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1071123%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F468579%22%20target%3D%22_blank%22%3E%40knowlite%3C%2FA%3E%3CSPAN%3E%26nbsp%3BWe've%20looked%20at%20the%20code%20path%20and%20it%20looks%20like%20%3CA%20href%3D%22https%3A%2F%2Fgraph.windows.net%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.windows.net%3C%2FA%3E%20(TCP%2F443)%20is%20being%20queried.%20Would%20you%20be%20able%20to%20test%20if%20this%20URL%20is%20accessible%20from%20your%20RDSH%20hosts%3F%20A%20simple%20test%20is%20pasting%20the%20URL%20in%20your%20browser%20and%20see%20if%20there's%20a%20response.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThanks%2C%3CBR%20%2F%3EPieter%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1087886%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1087886%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F334255%22%20target%3D%22_blank%22%3E%40rmaestas%3C%2FA%3E%26nbsp%3Bthe%20fix%20to%20correct%20this%20is%20expected%20end%20of%20this%20month.%20Sorry%20for%20the%20inconvenience.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096463%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096463%22%20slang%3D%22en-US%22%3EWe're%20experiencing%20this%20problem%20too%20as%20of%20today.%3CBR%20%2F%3EWill%20the%20fix%20also%20solve%20the%20problem%20on%20current%20deployments%2C%20or%20only%20for%20future%20deployments%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1087871%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1087871%22%20slang%3D%22en-US%22%3EBump%2C%20we%20just%20started%20experiencing%20this%20as%20well.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1097651%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1097651%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F378298%22%20target%3D%22_blank%22%3E%40tomdw%3C%2FA%3E%26nbsp%3BIt%20will%20fix%20existing%20deployments%20-%20thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100788%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100788%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54051%22%20target%3D%22_blank%22%3E%40Nicholas%20Semenkovich%3C%2FA%3E%26nbsp%3BI've%20tried%20that%20command%20to%20find%20the%20grace%20days%2C%20it%20says%20469...%20%3A)%3C%2Fimg%3E%20We%20are%20getting%20the%20license%20errors%20and%20MS%20Support%20confirmes%20we%20are%20indeed%20effected%20by%20this%20bug%2C%20but%20the%20errors%20are%20only%20in%20the%20event%20logs%20and%20users%20are%20not%20effected.%20Just%20a%20little%20curious%20about%20the%20469%20grace%20days...%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108047%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108047%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20anyone%20confirm%20the%20fix%20for%20this%20is%20in%26nbsp%3BKB4528760%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108166%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108166%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54051%22%20target%3D%22_blank%22%3E%40Nicholas%20Semenkovich%3C%2FA%3E%26nbsp%3BI%20have%20an%20open%20ticket%20with%20MS%20Support%2C%20and%20they%20told%20me%20yesterday%20that%20the%20fix%20is%20scheduled%20to%20late%20january%2C%20so%20i%20think%20its%20NOT%20in%20the%20fix%20you%20mentioned.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108216%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108216%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377587%22%20target%3D%22_blank%22%3E%40Mtollex70%3C%2FA%3E%26nbsp%3Byou%20are%20right.%20It's%20not%20part%20of%26nbsp%3B%3CSPAN%3EKB4528760%20but%20instead%20will%20be%20part%20of%20the%20next%20cumulative%20update.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1141043%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1141043%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%3BHi%20Pieter%2C%20any%20new%20on%20the%20fix%20for%20this%20issue%3F%20I%20have%20the%20same%20for%20one%20of%20my%20clients.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1141837%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1141837%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F539105%22%20target%3D%22_blank%22%3E%40tomv_ips%3C%2FA%3E%26nbsp%3BThis%20should%20be%20part%20of%20the%20next%20cumulative%20update%2C%20which%20is%20scheduled%20for%20Feb%2011.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1172925%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1172925%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%3BSo%20is%20it%20confirmed%20that%20the%20update%20from%20tuesday%20fixes%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1172951%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20license%20warning%20and%20are%20disconnected%20after%2060%20minutes%20from%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1172951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377587%22%20target%3D%22_blank%22%3E%40Mtollex70%3C%2FA%3E%26nbsp%3B%20Looks%20like%20it.%20Not%20tested%20extemsively%20but%20certainly%20not%20appeared%20in%20my%20session%20at%20the%20moment.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello,

 

we have a situation that two minutes after logging into a WVD session (Win 10 1903 multi-user), users are getting a warning about an invalid license and they will be logged off after 60 minutes. After 60 minutes the session is disconnected.

 

After logon there are two error events in the TerminalServices-RemoteConnectionManager/Admin Event Log.

Event ID 50215 : The Remote Desktop Session Host Server was unable to retrieve user license information from AAD. Error: CheckLicensingFromAAD - Read AccessToken Failed: hr=0x80070057

Event ID 50215: The Remote Desktop Session Host Server was unable to retrieve user license information from AAD. User [ADDSDOMAIN\UserName]. hr=0x80070057

 

The event log entries started in October already. I assume users are now getting the message after a 30 day grace period. The entire deployment is operational without any problems since July.

 

All users are licensed with M365 E3. The AD DS and AAD are synchronized via AD Connect with Azure Hybrid Join enable. The problem affects all servers in two pools. All servers are registered in AAD and users are able to use SSO when logged in and using Office 365 applications.

 

I hope anyone can help us with this problem.

 

Thank you

Sascha Stops

 

 

24 Replies
Highlighted
Solution

@Sascha Stops This is a known issue and we are updating our documentation while working on a fix. The fix will take a couple of weeks, probably looking at early 2020. I'd recommend to redeploy the 1903 (or 1909) hosts where the grace period will be long enough to bridge the gap until the fix is pushed via Windows Update. Sorry for the inconvenience. 

Highlighted

We just saw this in our logs as well; it's likely to hit us hard in a week or two -- and it's very difficult for us to redeploy hosts (due to some painful legacy apps).

 

Any more info available / alternative workarounds?

Highlighted

@Sascha Stops Any luck? Supposedly you can reset the timer by deleting a GracePeriod registry key (under 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod').

 

That might hold us over until a fix is released: https://www.hyper-v.io/reset-120-day-rds-grace-period-windows-server-2016-without-gui/

 

For those debugging this, we found that we have only 15 days remaining before we hit this bug. You can see remaining time by running, in an elevated powershell:

 

(Invoke-WmiMethod -PATH (gwmi -namespace root\cimv2\terminalservices -class win32_terminalservicesetting).__PATH -name GetGracePeriodDays).daysleft

 

Highlighted

Thank you for the reply. I got the similar response today from the support case I opened. The support engineer mentioned that in 1909 the problem would be fixed but only for new deployments, not for upgrades.

Highlighted

@Nicholas Semenkovich  Hello, I have been told by the support engineer that there might be long term problems doing this. But I guess it does not matter if we rebuild now or later.

 

I might give that a try one of the two host groups.

 

Thank you for your response. 

 

Best regards

Sascha

Highlighted

@Nicholas Semenkovich  That seems to work. At least it will give us some time to rebuild the servers with all legacy applications.

 

Best regards

Sascha

Highlighted

@Sascha Stops Thanks for letting me know! We'll probably do the same until the fix rolls out.

Highlighted
Having the same issue on deployment made this weekend.
Users getting notification that they will be logged out in 2 minutes.
Following eventlog: (sorry for dutch)
Er kunnen geen licentiegegevens voor gebruikers door de Extern bureaublad-sessiehostserver uit AAD worden opgehaald. Fout User DOMAIN\user , hr = 0x80070057

Er kunnen geen licentiegegevens voor gebruikers door de Extern bureaublad-sessiehostserver uit AAD worden opgehaald. Fout CheckLicensingFromAAD - Read AccessToken Failed: hr = 0x80070057
Highlighted

@knowlite Hello,

 

according to Microsoft this is known bug in 1903 and 1909. It will possibly fixed in January 2020.

 

The official guidance is to redeploy all servers so that you get a grace period (120 days) that ends later than the patch release date.

 

The method of resetting the grace period in the registry of an already working system mentioned previously in this thread is not support by Microsoft and might have long-term effects.

 

Probably not the response you were hoping for, but this is the information we received through this channel and Premier Support.

 

Best regards

Sascha

 

 

Highlighted
120 days should suffice until a fix is there. We deployed the servers this weekend ;)
Though the issue is resolved now and was not related to this problem but due to the registry tweaks that were previously mentioned on MS Docs about the Active Session limit (set to 3 hours?!). I've changed the parameters and sessions are now disconnecting without loosing their data and can stay active for 16 hours without issues. I hope we do not bump into this topics grace period ending before there is a fix from MS.
Highlighted

@knowlite This will be part of the (end of) januari fix. It's caused by the VM not being able to reach out to AAD (firewall?), the fix will remove the check and need to contact AAD at all. Let me see what URL's/IP's etc. are needed so you could white-list in the interim.

Highlighted

@knowlite We've looked at the code path and it looks like https://graph.windows.net (TCP/443) is being queried. Would you be able to test if this URL is accessible from your RDSH hosts? A simple test is pasting the URL in your browser and see if there's a response. 

 

Thanks,
Pieter

Highlighted
Bump, we just started experiencing this as well.
Highlighted

@rmaestas the fix to correct this is expected end of this month. Sorry for the inconvenience. 

Highlighted
We're experiencing this problem too as of today.
Will the fix also solve the problem on current deployments, or only for future deployments?
Highlighted

@tomdw It will fix existing deployments - thanks.

Highlighted

@Nicholas Semenkovich I've tried that command to find the grace days, it says 469... :) We are getting the license errors and MS Support confirmes we are indeed effected by this bug, but the errors are only in the event logs and users are not effected. Just a little curious about the 469 grace days... 

Highlighted

Can anyone confirm the fix for this is in KB4528760?

Highlighted

@Nicholas Semenkovich I have an open ticket with MS Support, and they told me yesterday that the fix is scheduled to late january, so i think its NOT in the fix you mentioned.

Highlighted

@Mtollex70 you are right. It's not part of KB4528760 but instead will be part of the next cumulative update. 

Highlighted

@Pieter Wigleven (WINDOWS) Hi Pieter, any new on the fix for this issue? I have the same for one of my clients.

Highlighted

@tomv_ips This should be part of the next cumulative update, which is scheduled for Feb 11.  

Highlighted

@Pieter Wigleven (WINDOWS) So is it confirmed that the update from tuesday fixes this issue?

Highlighted

@Mtollex70  Looks like it. Not tested extemsively but certainly not appeared in my session at the moment.