Get and add file extensions in OWA as attachment.

Allow XML attachments in office 365




(get-OwaMailboxPolicy OwaMailboxPolicy-Default).AllowedFileTypes


Set-OwaMailboxPolicy OwaMailboxPolicy-Default -AllowedFileTypes  @{add= '.xml'}


if not able to open any file type in office 365 as attachment.

Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedFileTypes @{Remove = “.xml”}

Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -AllowedFileTypes @{Add = “.xml”}

Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedMimeTypes @{Remove = “text/xml”, “application/xml”}

Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -AllowedMimeTypes @{Add = “text/xml”, “application/xml”}


Comments

Popular Posts