Set OWA LogonFormat using PowerShell

%3CLINGO-SUB%20id%3D%22lingo-sub-66090%22%20slang%3D%22en-US%22%3ESet%20OWA%20LogonFormat%20using%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-66090%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3ESet%20Exhange%202010%20%2F2013%20OWA%20'LogonFormat'%20using%20PowerShell%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQuick%20look%20at%20the%20curent%20setting%20using%20the%20%3CSTRONG%3E'GUI'%3C%2FSTRONG%3E.%20Exchange%20Admin%20Center%20-%20Servers%20-%20Virtual%20Directory%20select%20OWA%20virtual%20directory.%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%20style%3D%22width%3A%20955px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F13982iAA3CABD7EF71A228%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22LogonFormat-ex-01.png%22%20title%3D%22LogonFormat-ex-01.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20lets%20change%20the%20LogonFormat%20to%20%3CSTRONG%3E'User%20name%20only'%3C%2FSTRONG%3E%20using%20%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3ESet-OwaVirtualDirectory%20-LogonFormat%20'UserName'%20-DefaultDomain%20'ThatLazyAdmin.local'%20-Identity%20'LazyEX-01%5Cowa%20(Default%20Web%20Site)'%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fthatlazyadmin.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23ThatLazyAdmin%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20118px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F13983i392BBA3F9125E7D2%2Fimage-dimensions%2F118x118%3Fv%3D1.0%22%20width%3D%22118%22%20height%3D%22118%22%20alt%3D%22thatlazyadmin.png%22%20title%3D%22thatlazyadmin.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-66090%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2010%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Set Exhange 2010 /2013 OWA 'LogonFormat' using PowerShell

 

Quick look at the curent setting using the 'GUI'. Exchange Admin Center - Servers - Virtual Directory select OWA virtual directory.

 

LogonFormat-ex-01.png

 

Now lets change the LogonFormat to 'User name only' using PowerShell

 

Set-OwaVirtualDirectory -LogonFormat 'UserName' -DefaultDomain 'ThatLazyAdmin.local' -Identity 'LazyEX-01\owa (Default Web Site)'

 

#ThatLazyAdmin

thatlazyadmin.png

0 Replies