Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

EXOSafeAttachmentPolicy: Fix issue if RedirectAddress is null

Open malauter opened this issue 2 years ago • 2 comments

Pull Request (PR) description

Fix issue if RedirectAddress is null

This Pull Request (PR) fixes the following issues

  • Fixes #2170

malauter avatar Aug 02 '22 14:08 malauter

This is a quick workaround but I'd prefer to stick to what is mentioned at the bottom, what if $Redirect is set to $true and and $RedirectAdress is set to $null? Shouldn't happen right? What if someone compiles a DSC by hand and messes up?

https://docs.microsoft.com/en-us/powershell/module/exchange/new-safeattachmentpolicy?view=exchange-ps

serial666 avatar Aug 03 '22 02:08 serial666

This is a duplicate with PR #2171. We have to decide which PR to merge and abandon the other.

ykuijs avatar Aug 09 '22 09:08 ykuijs

Let's move ahead and kill multiple birds with one stone with the #2171 PR

NikCharlebois avatar Aug 22 '22 17:08 NikCharlebois