Microsoft365DSC
Microsoft365DSC copied to clipboard
EXOSafeAttachmentPolicy: Fix issue if RedirectAddress is null
Pull Request (PR) description
Fix issue if RedirectAddress is null
This Pull Request (PR) fixes the following issues
- Fixes #2170
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
This is a duplicate with PR #2171. We have to decide which PR to merge and abandon the other.
Let's move ahead and kill multiple birds with one stone with the #2171 PR