%3CLINGO-SUB%20id%3D%22lingo-sub-1440844%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440844%22%20slang%3D%22en-US%22%3E%3CP%3ECongrats%20team%2C%20keep%20up%20the%20good%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440916%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440916%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20you're%20planning%20to%20sunset%20basic%20authentication%2C%20but%20the%20brand%20new%20module%20you%20made%20doesn't%20support%20Powershell%207.%20What's%20your%20recommended%20go-forward%20plan%20for%20these%20users%20then%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JGrote_1-1591288750703.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196540iB9FE2DA52F44F093%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JGrote_1-1591288750703.png%22%20alt%3D%22JGrote_1-1591288750703.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441112%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441112%22%20slang%3D%22en-US%22%3E%3CP%3EWhilst%20this%20is%20semi%20good%20to%20see%20similar%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F461253%22%20target%3D%22_blank%22%3E%40JGrote%3C%2FA%3E%20I%20have%20to%20say%20that%20I%20am%20disheartened%20to%20see%20this%20not%20have%20PowerShell%20v7%20support%2C%20both%20on%20Windows%20and%20off%20of%20Windows.%20As%20I%20commented%20in%20this%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FJustinWGrote%2Fstatus%2F1268583463923314689%3Fs%3D20%22%20target%3D%22_self%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%22%3Etwitter%20thread%3C%2FA%3E%20I%20know%20that%20many%20teams%20at%20Microsoft%20are%20still%20living%20in%20PowerShell%20v5.1%20(on%20box%20in%20Win10%20%26amp%3B%20Server%202016%2B)%20so%20perhaps%20see%20little%20need%20for%20this%20but%20as%20we%20are%20seeing%20HUGE%20numbers%20of%20PowerShell%20v7%20starts%20on%20non-windows%20oses%2C%20this%20%22oversight%22%20needs%20to%20be%20prioritised%20as%20more%20and%20more%20admins%20start%20to%20use%20not%20just%20PowerShell%20v7%20on%20Windows%20but%20on%20Mac's%20and%20Linux%20variants%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%20-%20I%20am%20happy%20to%20facilitate%20converstations%20with%20you%20from%20the%20wider%20PowerShell%20community%20if%20that%20would%20be%20of%20use%20to%20help%20you%20in%20planning%20this%20to%20come%20in%20a%20future%20release.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441304%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441304%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%26nbsp%3B%26nbsp%3BDoes%20this%20include%20the%20exchange%20cmdlets%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fset-mailboxmessageconfiguration%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%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%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fset-mailboxmessageconfiguration%3Fview%3Dexchange-ps%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESpecifically%20referring%20to%20%22Set-MailboxMessageConfiguration%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1436623%22%20slang%3D%22en-US%22%3EAnnouncing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436623%22%20slang%3D%22en-US%22%3E%3CP%3EAt%20Microsoft%20Ignite%202019%2C%20we%20announced%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fexops-docs%22%20target%3D%22_blank%22%20rel%3D%22noopener%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%3Enew%20Exchange%20Online%20management%20cmdlets%3C%2FA%3E%26nbsp%3Band%20showed%20how%20they%20can%20be%20used%20to%20perform%20fast%20and%20highly%20reliable%20data%20retrieval%20operations.%20Today%20we%E2%80%99re%20delighted%20to%20be%20able%20to%20announce%20the%20general%20availability%20and%20full%20support%20of%20these%20cmdlets%20in%20all%20Exchange%20Online%20environments.%3C%2FP%3E%0A%3CP%3EThe%20V2%20module%20is%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fexops-v2%22%20target%3D%22_blank%22%20rel%3D%22noopener%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%3Enow%20available%20in%20the%20PowerShell%20Gallery%20%3C%2FA%3E%20and%20we%20recommend%20all%20Exchange%20Online%20customers%20start%20using%20these%20new%20cmdlets%20right%20away.%3C%2FP%3E%0A%3CP%3EThere%20are%20many%20good%20reasons%20to%20start%20using%20this%20module.%3C%2FP%3E%0A%3CP%3EFirstly%2C%20it%E2%80%99s%20easy%20and%20non-disruptive%20to%20you%2C%20the%20admin%20-%20The%20new%20EXO%20V2%20module%20contains%20all%20the%20existing%20Remote%20PowerShell%20cmdlets%2C%20as%20well%20as%209%20new%20V2%20cmdlets.%20So%20you%20can%20use%20the%20new%20module%20with%20no%20impact%20or%20change%20to%20your%20day%20to%20day%20tasks%20or%20scripts.%3C%2FP%3E%0A%3CP%3ESo%20if%20there%E2%80%99s%20no%20impact%20or%20change%2C%20why%20use%20it%3F%20There%20are%20in%20fact%20two%20great%20reasons.%3C%2FP%3E%0A%3CP%3EFirstly%2C%20the%20new%20module%20is%20entirely%20Modern%20Authentication%20based.%20If%20you%20start%20using%20this%2C%20you%20are%20getting%20off%20Basic%20Authentication%20for%20your%20admin%20tasks%2C%20and%20as%20you%20know%2C%20that%E2%80%99s%20a%20good%20thing%20because%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fbasic-authentication-and-exchange-online-april-2020-update%2Fba-p%2F1275508%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EBasic%20Auth%20is%20going%20away%3C%2FA%3E%20in%20Exchange%20Online.%20So%20just%20switching%20to%20this%20module%20means%20your%20connection%20is%20more%20secure%20and%20you%20have%20one%20less%20thing%20to%20worry%20about.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecondly%2C%20and%20this%20is%20the%20real%20bonus%20%E2%80%93%20there%20are%20(currently)%209%20new%20REST%20based%20cmdlets%20for%20the%20most%20commonly%20executed%20tasks%20and%20they%20are%20considerably%20faster%20and%20more%20reliable%20than%20their%20v1%20counterparts.%3C%2FP%3E%0A%3CP%3EHow%20much%20faster%20and%20more%20reliable%3F%20Since%20we%20made%20the%20cmdlet%20module%20available%20in%20preview%20last%20year%2C%20we%20have%20seen%20%3CEM%3Emillions%3C%2FEM%3E%20of%20calls%20into%20Exchange%20Online%20using%20this%20module%20and%20these%20new%20cmdlets.%20In%20the%20month%20of%20May%202020%20alone%2C%20we%20saw%20%3CEM%3E150%20million%3C%2FEM%3E%20commands%20executed%20against%20Exchange%20Online%20using%20just%20the%20the%209%20new%20cmdlets%20in%20the%20new%20module.%20That%20number%20is%20so%20big%20we%E2%80%99re%20going%20to%20say%20it%20again%2C%20and%20bold%20it.%20%3CSTRONG%3E%3CEM%3E150%20million%3C%2FEM%3E%3C%2FSTRONG%3E.%20And%20that%E2%80%99s%20in%20just%20one%20month.%3C%2FP%3E%0A%3CP%3EOver%20that%20time%2C%20we%E2%80%99ve%20seen%20these%20cmdlets%20be%204-8x%20faster%20than%20their%20predecessors%20and%20seen%20them%20prove%20to%20be%20considerably%20more%20reliable%20(as%20confirmed%20by%20the%20feedback%20we%E2%80%99ve%20had).%20We%20are%20ready%20for%20prime%20time%20now%2C%20as%20150%20million%20executions%20in%20a%20month%20%E2%80%93%20was%20just%20us%20%E2%80%98testing%E2%80%99.%20(The%20numbers%20are%20quite%20something%20aren%E2%80%99t%20they)%3C%2FP%3E%0A%3CP%3EWe%20have%20plans%20to%20continue%20evolving%20and%20improving%20the%20module%20and%20we%E2%80%99re%20very%20open%20to%20feedback%2C%20either%20here%20on%20the%20blog%20or%20in%20the%20Office%20365%20Admin%2FExchange%20Admin%20UserVoice%20forum%20%3CA%20href%3D%22https%3A%2F%2Foffice365.uservoice.com%2Fforums%2F273493-office-365-admin%3Fcategory_id%3D96338%22%20target%3D%22_blank%22%20rel%3D%22noopener%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%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EWe%20can%20share%20that%20we%E2%80%99re%20considering%20adding%20more%20cmdlets%2C%20so%20we%E2%80%99d%20like%20to%20hear%20which%20cmdlets%20you%20think%20are%20most%20important.%20We%E2%80%99re%20currently%20working%20on%20support%20for%20PowerShell%20Core%2C%20and%20are%20hard%20at%20work%20on%20Service%20Principal%20and%20Certificate%20Based%20Auth%20support%20to%20provide%20a%20solution%20to%20those%20wanting%20non-interactive%20scenarios%20(we%20will%20blog%20about%20this%20separately).%3C%2FP%3E%0A%3CP%3EWe%20hope%20that%20you%20download%20and%20try%20out%20the%20new%20module%20today%2C%20we%20really%20think%20you%E2%80%99ll%20enjoy%20using%20it%20and%20the%20benefits%20you%20get%20from%20it.%20Please%20also%20see%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Ffaster-and-more-reliable-exchange-online-management-using%2Fba-p%2F1198604%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Eour%20previous%20blog%20post%20about%20this%20module%3C%2FA%3E%20as%20it%20contains%20some%20frequently%20asked%20questions%20about%20it.%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF6600%22%3EThe%20Exchange%20PowerShell%20Admin%20Team%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1436623%22%20slang%3D%22en-US%22%3E%3CP%3EAt%20Microsoft%20Ignite%202019%2C%20we%20announced%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fexops-docs%22%20rel%3D%22noopener%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%20target%3D%22_blank%22%3Enew%20Exchange%20Online%20management%20cmdlets%3C%2FA%3E%26nbsp%3Band%20showed%20how%20they%20can%20be%20used%20to%20perform%20fast%20and%20highly%20reliable%20data%20retrieval%20%26nbsp%3Boperations.%20Today%20we%E2%80%99re%20delighted%20to%20be%20able%20to%20announce%20the%20general%20availability%20and%20full%20support%20of%20these%20cmdlets%20in%20all%20Exchange%20Online%20environments.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1436623%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eall%20posts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAnnouncements%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EScripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1443286%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1443286%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F461253%22%20target%3D%22_blank%22%3E%40JGrote%3C%2FA%3E%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1773%22%20target%3D%22_blank%22%3E%40Ryan%20Yates%3C%2FA%3E%26nbsp%3B-%20Support%20for%20PowerShell%207(on%20Windows%20%26amp%3B%20Linux)%20is%20under%20preview%20testing.%20It%20will%20be%20announced%20in%20coming%20month.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F386894%22%20target%3D%22_blank%22%3E%40Carlos-Authentix%3C%2FA%3E%26nbsp%3B-%20All%20the%20Remote%20PowerShell%20Cmdlets%20which%20were%20earlier%20accessible%20via%20New-PSSession%20are%20available%20in%20this%20V2%20module.%20Depending%20on%20the%20Admin%20role%20assigned%20to%20the%20logged-in%20account%2C%20it%20will%20be%20available%20for%20use%20in%20the%20session.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1443615%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1443615%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20not%20parity%20for%20several%20commands.%20For%20instance%2C%20this%20filter%20doesn't%20work%20in%20the%20new%20exorecipient%20but%20works%20fine%20in%20the%20old%20one%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JGrote_0-1591380112344.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196774iDFB3EFBBFD57641C%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JGrote_0-1591380112344.png%22%20alt%3D%22JGrote_0-1591380112344.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448376%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448376%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%26nbsp%3B%20Does%20it%20support%20running%20scheduled%20scripts%20(non-interactive)%20%3F%20i%20am%20looking%20for%20instructions%20if%20it%20does.%20whenever%20i%20try%20to%20connect%20using%20connect-exchangeonline%20-userprincipalname%20%3CUPN%3E%20on%20windows%20powershell%20%2C%20this%20pops%20up%20a%20login%20form%20for%20few%20seconds%20and%20go%20away%20and%20connection%20works%20fine%20but%20for%20scheduled%20scripts%20it%20fails%20possibly%20because%20of%20the%20popup%20form%20.%20i%20am%20trying%20to%20see%20how%20this%20would%20work%20for%20non-interactive%20scripts.%3C%2FUPN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450439%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450439%22%20slang%3D%22en-US%22%3E%3CP%3EExcellent%20work%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%26nbsp%3B%2C%20the%20REST%20based%20cmdlets%20are%20really%20fast%20and%20works%20well.%20Specially%20when%20you%20have%20over%20100k%20and%20growing%20environment%20to%20manage%5Creport.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20see%20upcoming%20faster%20cmdlets%20for%20below%2C%20which%20is%20slow%20and%20errors%20out%20for%20tenant%20wide%20extracts%20currently.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23Get%20DL%20members%3C%2FP%3E%3CP%3E%3CSTRONG%3EGet-DistributionGroupMember%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EGet-DistributionGroup%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20not%20Exchange%20Online%2C%20however%20still%20has%20the%20same%20issue%3A%3C%2FP%3E%3CP%3EGet-MsolUser%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1454540%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1454540%22%20slang%3D%22en-US%22%3E%3CP%3EIntune%20Microsoft%20security%20baselines%20do%20not%20allow%20WinRM%20basic%20authentication.%20However%2C%20this%20new%20module%20requires%20basic%20authentication%20to%20login%20using%20MFA.%20How%20are%20we%20supposed%20to%20work%20around%20that%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1484855%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1484855%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3EKeep%20up%20the%20good%20work.%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20could%20one%20report%20potential%20bugs%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20believe%20the%20Get-EXOMailbox%20command%20is%20not%20properly%20retrieving%20the%20mailitemsaccessed%20logging%20attribute%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20attempting%20to%20retrieve%20which%20mailboxes%20have%20the%20new%20MailItemAccessed%20logging%20enabled%2C%20using%20the%20Get-EXOMailBox%20command%20does%20not%20retrieve%20expected%20results%3C%2FP%3E%3CP%3ERunning%20the%20same%20command%20using%20the%20legacy%20Get-Mailbox%20command%20produces%20the%20expected%20results%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2285301770-3cf43780-b476-11ea-9723-cb89143dd5f3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F200632iDEA3076690F765E3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2285301770-3cf43780-b476-11ea-9723-cb89143dd5f3.png%22%20alt%3D%2285301770-3cf43780-b476-11ea-9723-cb89143dd5f3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20see%20the%20screenshot%20below.%20This%20shows%20that%20the%20Get-EXOMailbox%20is%20not%20pulling%20the%20correct%20auditing%20settings%20when%20calling%20an%20unlimited%20set%20of%20results.%20All%20results%20match%20between%20the%20two%20commands%20with%20the%20exception%20of%20%22MailItemsAccessed%22%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2285338364-266ad200-b4b0-11ea-9c8a-ba824d04c1fb.png%22%20style%3D%22width%3A%20665px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F200633i0BE50BC0EC43DE29%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2285338364-266ad200-b4b0-11ea-9c8a-ba824d04c1fb.png%22%20alt%3D%2285338364-266ad200-b4b0-11ea-9c8a-ba824d04c1fb.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIt%20does%20appear%20when%20I%20call%20a%20specific%20identity%2C%20I%20return%20the%20expected%20results%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2285338443-4e5a3580-b4b0-11ea-957a-01f241e57421.png%22%20style%3D%22width%3A%20750px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F200634iB529C6FD6F21F887%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2285338443-4e5a3580-b4b0-11ea-957a-01f241e57421.png%22%20alt%3D%2285338443-4e5a3580-b4b0-11ea-957a-01f241e57421.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1485450%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1485450%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EAny%20insight%20on%20when%20the%20-CerrificateThumbrint%20and%20other%20App-Only%20auth%20parameters%20will%20be%20released%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1490805%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1490805%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20load%20Connect-ExchangeOnline%20and%20Connect-IPPSSession%20with%20in%20the%20same%20Powershell%20session%3F%3C%2FP%3E%3CP%3ESeems%20like%20they%20use%20the%20same%20PSSession.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1490819%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1490819%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F710673%22%20target%3D%22_blank%22%3E%40mark3grahams%3C%2FA%3E%26nbsp%3BYou%20can%20do%20it%20if%20you%20use%20-Prefix%20when%20Connect-ExchangeOnline%2C%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConnect-ExchangeOnline%20-UserPrincipalName%20%3CYOURUPN%3E%20-Prefix%20EXOv2%3C%2FYOURUPN%3E%3C%2FP%3E%3CP%3EConnect-IPPSession%20-UserPrincipalName%20%3CYOURUPN%3E%3C%2FYOURUPN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20only%20included%20the%20-UserPrincipalName%20so%20that%20you%20can%20hopefully%20reuse%20existing%20refresh%20token.%26nbsp%3B%20The%20Prefix%20parameter%20will%20make%20all%20the%20Exchange%20Online%20cmdlets%20be%20like%20this%3A%26nbsp%3B%20Get-EXOv2Mailbox%2C%20Get-EXOv2MailboxPermission%2C%20Get-EXOv2OrganizationConfig%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20choose%20the%20prefix%20of%20your%20choice%2C%20not%20sure%20all%20the%20rules%20but%20see%20the%20help%20for%20Import-PSSession%20to%20get%20the%20details%20on%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501711%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501711%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64125%22%20target%3D%22_blank%22%3E%40Jeremy%20Bradshaw%3C%2FA%3E%26nbsp%3BCertificateThumbprint%20with%20App-Only%20parameter%20support%20has%20been%20announced%20Public%20preview%20here%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fmodern-auth-and-unattended-scripts-in-exchange-online-powershell%2Fba-p%2F1497387%22%20target%3D%22_self%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fmodern-auth-and-unattended-scripts-in-exchange-online-powershell%2Fba-p%2F1497387%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1502710%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502710%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F442608%22%20target%3D%22_blank%22%3E%40navgupta%3C%2FA%3E%26nbsp%3BThanks%20very%20much!%26nbsp%3B%20This%20is%20so%20exciting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1522158%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1522158%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20PowerShell%20team%20over%20on%20GitHib%20have%20been%20going%20well%20ensuring%20that%20PowerShell%20supports%20other%20operating%20systems%20that%20aren't%20Windows.%3C%2FP%3E%3CP%3EI%2C%20for%20example%2C%20use%20PowerShell%20on%20macOS%20on%20a%20daily%20basis%20to%20administer%20my%20clients%20MS365%20instances.%3C%2FP%3E%3CP%3EIt%20is%20becoming%20a%20problem%20however%20that%20new%20tenancies%20have%20modern%20authentication%20enabled%20by%20default%2C%20and%20PowerShell%20on%20macOS%20only%20supports%20legacy%20authentication.%3C%2FP%3E%3CP%3EI%20would%20love%20to%20be%20able%20to%20use%20these%20on%20macOS%20and%20Linux%20to%20administer%20MS365%20and%20EXO%20without%20having%20to%20spin%20up%20a%20Windows%2010%20VM%20every%20time.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%26nbsp%3B-%20are%20there%20any%20plans%20to%20support%20this%20on%20non-Windows%20operating%20systems%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20installing%20on%20macOS%2C%20I%20get%20the%20following%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EPackageManagement%5CInstall-Package%20%3A%20Unable%20to%20load%20shared%20library%20'api-ms-win-core-sysinfo-l1-1-0.dll'%20or%20one%20of%20its%20dependencies.%20In%20order%20to%20help%20diagnose%20loading%20problems%2C%20consider%20setting%20the%20DYLD_PRINT_LIBRARIES%20environment%20variable%3A%20dlopen(libapi-ms-win-core-sysinfo-l1-1-0.dll%2C%201)%3A%20image%20not%20found%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699873%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20General%20Availability%20of%20the%20Exchange%20Online%20PowerShell%20v2%20Cmdlets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699873%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20found%20some%20interesting%20behavior%20when%20EnableErrorReporting%20is%20enabled%20on%20the%20Connect-ExchangeOnline%20command%20in%20EXOV2.%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%3A%3C%2FP%3E%3CPRE%3EConnect-ExchangeOnline%0AGet-Mailbox%20%24testMailbox%0AGet-MailboxPermission%20%24testMailbox%3C%2FPRE%3E%3CP%3EThese%20commands%20work%20as%20you%20would%20expect.%26nbsp%3B%20The%20first%20positional%20parameter%20is%20treated%20as%20the%20identity%20to%20be%20retrieved.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20EnableErrorRecording%3A%3C%2FP%3E%3CPRE%3EConnect-ExchangeOnline%20-ShowProgress%20%24false%20-EnableErrorReporting%20-LogDirectoryPath%20'C%3A%5Ctemp%5CConnectExchangeOnline.log'%0AGet-Mailbox%20%24testMailbox%3C%2FPRE%3E%3CP%3EThe%20Get-Mailbox%20command%20returns%20this%20error%3A%3C%2FP%3E%3CPRE%3ETerminatingError(Invoke-Command)%3A%20%22Cannot%20bind%20parameter%20'ErrorAction'.%20Cannot%20convert%20value%20%22jblack-o365%22%20to%20type%20%22System.Management.Automation.ActionPreference%22.%20Error%3A%20%22Unable%20to%20match%20the%20identifier%20name%20jblack-o365%20to%20a%20valid%20enumerator%20name.%20Specify%20one%20of%20the%20following%20enumerator%20names%20and%20try%20again%3A%0ASilentlyContinue%2C%20Stop%2C%20Continue%2C%20Inquire%2C%20Ignore%2C%20Suspend%22%22%3C%2FPRE%3E%3CPRE%3EGet-Mailbox%20%24testMailbox%20-ErrorAction%20Stop%3C%2FPRE%3E%3CP%3EAdding%20an%20explicit%20ErrorAction%20parameter%20returns%20info%20for%201000%20mailboxes%2C%20ignoring%20the%20identity%20positional%20parameter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3EGet-Mailbox%20-Identity%20%24testMailbox%3C%2FPRE%3E%3CP%3EAdding%20an%20Identity%20parameter%20gives%20the%20expected%20results.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOther%20examples%3A%3C%2FP%3E%3CPRE%3EGet-MailboxPermission%20%24testMailbox%0ATerminatingError(Invoke-Command)%3A%20%22Cannot%20bind%20parameter%20'ErrorAction'.%20Cannot%20convert%20value%20%22jblack-o365%22%20to%20type%20%22System.Management.Automation.ActionPreference%22.%20Error%3A%20%22Unable%20to%20match%20the%20identifier%20name%20jblack-o365%20to%20a%20valid%20enumerator%20name.%20Specify%20one%20of%20the%20following%20enumerator%20names%20and%20try%20again%3A%0ASilentlyContinue%2C%20Stop%2C%20Continue%2C%20Inquire%2C%20Ignore%2C%20Suspend%22%22%3C%2FPRE%3E%3CPRE%3EGet-MailboxPermission%20%24testMailbox%20-ErrorAction%20Stop%0Acmdlet%20Get-MailboxPermission%20at%20command%20pipeline%20position%201%0ASupply%20values%20for%20the%20following%20parameters%3A%0AIdentity%3A%20%3C%2FPRE%3E%3C%2FLINGO-BODY%3E

At Microsoft Ignite 2019, we announced new Exchange Online management cmdlets and showed how they can be used to perform fast and highly reliable data retrieval operations. Today we’re delighted to be able to announce the general availability and full support of these cmdlets in all Exchange Online environments.

The V2 module is now available in the PowerShell Gallery and we recommend all Exchange Online customers start using these new cmdlets right away.

There are many good reasons to start using this module.

Firstly, it’s easy and non-disruptive to you, the admin - The new EXO V2 module contains all the existing Remote PowerShell cmdlets, as well as 9 new V2 cmdlets. So you can use the new module with no impact or change to your day to day tasks or scripts.

So if there’s no impact or change, why use it? There are in fact two great reasons.

Firstly, the new module is entirely Modern Authentication based. If you start using this, you are getting off Basic Authentication for your admin tasks, and as you know, that’s a good thing because Basic Auth is going away in Exchange Online. So just switching to this module means your connection is more secure and you have one less thing to worry about.  

Secondly, and this is the real bonus – there are (currently) 9 new REST based cmdlets for the most commonly executed tasks and they are considerably faster and more reliable than their v1 counterparts.

How much faster and more reliable? Since we made the cmdlet module available in preview last year, we have seen millions of calls into Exchange Online using this module and these new cmdlets. In the month of May 2020 alone, we saw 150 million commands executed against Exchange Online using just the the 9 new cmdlets in the new module. That number is so big we’re going to say it again, and bold it. 150 million. And that’s in just one month.

Over that time, we’ve seen these cmdlets be 4-8x faster than their predecessors and seen them prove to be considerably more reliable (as confirmed by the feedback we’ve had). We are ready for prime time now, as 150 million executions in a month – was just us ‘testing’. (The numbers are quite something aren’t they)

We have plans to continue evolving and improving the module and we’re very open to feedback, either here on the blog or in the Office 365 Admin/Exchange Admin UserVoice forum here.

We can share that we’re considering adding more cmdlets, so we’d like to hear which cmdlets you think are most important. We’re currently working on support for PowerShell Core, and are hard at work on Service Principal and Certificate Based Auth support to provide a solution to those wanting non-interactive scenarios (we will blog about this separately).

We hope that you download and try out the new module today, we really think you’ll enjoy using it and the benefits you get from it. Please also see our previous blog post about this module as it contains some frequently asked questions about it.

The Exchange PowerShell Admin Team

17 Comments

Congrats team, keep up the good work.

Senior Member

So you're planning to sunset basic authentication, but the brand new module you made doesn't support Powershell 7. What's your recommended go-forward plan for these users then?

JGrote_1-1591288750703.png

 

Whilst this is semi good to see similar to @JGrote I have to say that I am disheartened to see this not have PowerShell v7 support, both on Windows and off of Windows. As I commented in this twitter thread I know that many teams at Microsoft are still living in PowerShell v5.1 (on box in Win10 & Server 2016+) so perhaps see little need for this but as we are seeing HUGE numbers of PowerShell v7 starts on non-windows oses, this "oversight" needs to be prioritised as more and more admins start to use not just PowerShell v7 on Windows but on Mac's and Linux variants as well.

 

@The_Exchange_Team - I am happy to facilitate converstations with you from the wider PowerShell community if that would be of use to help you in planning this to come in a future release.

Occasional Contributor

@The_Exchange_Team  Does this include the exchange cmdlets https://docs.microsoft.com/en-us/powershell/module/exchange/set-mailboxmessageconfiguration?view=exc...

 

Specifically referring to "Set-MailboxMessageConfiguration"

 

 

Thanks

Microsoft

@JGrote  @Ryan Yates - Support for PowerShell 7(on Windows & Linux) is under preview testing. It will be announced in coming month. 

 

@Carlos-Authentix - All the Remote PowerShell Cmdlets which were earlier accessible via New-PSSession are available in this V2 module. Depending on the Admin role assigned to the logged-in account, it will be available for use in the session.

Senior Member

There is not parity for several commands. For instance, this filter doesn't work in the new exorecipient but works fine in the old one

JGrote_0-1591380112344.png

 

Senior Member

@The_Exchange_Team  Does it support running scheduled scripts (non-interactive) ? i am looking for instructions if it does. whenever i try to connect using connect-exchangeonline -userprincipalname <upn> on windows powershell , this pops up a login form for few seconds and go away and connection works fine but for scheduled scripts it fails possibly because of the popup form . i am trying to see how this would work for non-interactive scripts.

Occasional Contributor

Excellent work @The_Exchange_Team , the REST based cmdlets are really fast and works well. Specially when you have over 100k and growing environment to manage\report.

I would like to see upcoming faster cmdlets for below, which is slow and errors out for tenant wide extracts currently.

 

#Get DL members

Get-DistributionGroupMember

Get-DistributionGroup

 

This is not Exchange Online, however still has the same issue:

Get-MsolUser

Senior Member

Intune Microsoft security baselines do not allow WinRM basic authentication. However, this new module requires basic authentication to login using MFA. How are we supposed to work around that?

Occasional Visitor

@The_Exchange_TeamKeep up the good work. 

Where could one report potential bugs?

 

I believe the Get-EXOMailbox command is not properly retrieving the mailitemsaccessed logging attribute

 

When attempting to retrieve which mailboxes have the new MailItemAccessed logging enabled, using the Get-EXOMailBox command does not retrieve expected results

Running the same command using the legacy Get-Mailbox command produces the expected results

85301770-3cf43780-b476-11ea-9723-cb89143dd5f3.png

 

Please see the screenshot below. This shows that the Get-EXOMailbox is not pulling the correct auditing settings when calling an unlimited set of results. All results match between the two commands with the exception of "MailItemsAccessed"85338364-266ad200-b4b0-11ea-9c8a-ba824d04c1fb.png

It does appear when I call a specific identity, I return the expected results

85338443-4e5a3580-b4b0-11ea-957a-01f241e57421.png

 

 

Contributor

Any insight on when the -CerrificateThumbrint and other App-Only auth parameters will be released?

Occasional Visitor

Is it possible to load Connect-ExchangeOnline and Connect-IPPSSession with in the same Powershell session?

Seems like they use the same PSSession.

Contributor

@mark3grahams You can do it if you use -Prefix when Connect-ExchangeOnline, like this:

 

Connect-ExchangeOnline -UserPrincipalName <yourUPN> -Prefix EXOv2

Connect-IPPSession -UserPrincipalName <yourUPN>

 

I only included the -UserPrincipalName so that you can hopefully reuse existing refresh token.  The Prefix parameter will make all the Exchange Online cmdlets be like this:  Get-EXOv2Mailbox, Get-EXOv2MailboxPermission, Get-EXOv2OrganizationConfig, etc.

 

You can choose the prefix of your choice, not sure all the rules but see the help for Import-PSSession to get the details on that.

Microsoft

@Jeremy Bradshaw CertificateThumbprint with App-Only parameter support has been announced Public preview here - https://techcommunity.microsoft.com/t5/exchange-team-blog/modern-auth-and-unattended-scripts-in-exch... 

Contributor

@navgupta Thanks very much!  This is so exciting.

Occasional Visitor

The PowerShell team over on GitHib have been going well ensuring that PowerShell supports other operating systems that aren't Windows.

I, for example, use PowerShell on macOS on a daily basis to administer my clients MS365 instances.

It is becoming a problem however that new tenancies have modern authentication enabled by default, and PowerShell on macOS only supports legacy authentication.

I would love to be able to use these on macOS and Linux to administer MS365 and EXO without having to spin up a Windows 10 VM every time.

@The_Exchange_Team - are there any plans to support this on non-Windows operating systems?

 

When installing on macOS, I get the following error:

 

PackageManagement\Install-Package : Unable to load shared library 'api-ms-win-core-sysinfo-l1-1-0.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libapi-ms-win-core-sysinfo-l1-1-0.dll, 1): image not found

Visitor

We found some interesting behavior when EnableErrorReporting is enabled on the Connect-ExchangeOnline command in EXOV2. 

Without:

Connect-ExchangeOnline
Get-Mailbox $testMailbox
Get-MailboxPermission $testMailbox

These commands work as you would expect.  The first positional parameter is treated as the identity to be retrieved. 

 

With EnableErrorRecording:

Connect-ExchangeOnline -ShowProgress $false -EnableErrorReporting -LogDirectoryPath 'C:\temp\ConnectExchangeOnline.log'
Get-Mailbox $testMailbox

The Get-Mailbox command returns this error:

TerminatingError(Invoke-Command): "Cannot bind parameter 'ErrorAction'. Cannot convert value "jblack-o365" to type "System.Management.Automation.ActionPreference". Error: "Unable to match the identifier name jblack-o365 to a valid enumerator name. Specify one of the following enumerator names and try again:
SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend""
Get-Mailbox $testMailbox -ErrorAction Stop

Adding an explicit ErrorAction parameter returns info for 1000 mailboxes, ignoring the identity positional parameter.

 

Get-Mailbox -Identity $testMailbox

Adding an Identity parameter gives the expected results.

 

Other examples:

Get-MailboxPermission $testMailbox
TerminatingError(Invoke-Command): "Cannot bind parameter 'ErrorAction'. Cannot convert value "jblack-o365" to type "System.Management.Automation.ActionPreference". Error: "Unable to match the identifier name jblack-o365 to a valid enumerator name. Specify one of the following enumerator names and try again:
SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend""
Get-MailboxPermission $testMailbox -ErrorAction Stop
cmdlet Get-MailboxPermission at command pipeline position 1
Supply values for the following parameters:
Identity: