Why do I have to run a powershell command to change settings in my own tenant??????
Settings I could freely change a year ago, what the bloody hell are Microsoft playing at?
Are you trying to drive users away from you diabolical platform?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to customize my anti-spam and anti-phishing policies through the Security & Compliance Dashboard and it keeps telling me that I have to "Enable-OrganizationCustomization". How can I do this. I have looked at several threads and cannot get a straightforward answer.
What are the correct cmdlet input and output to do this?
Why do I have to run a powershell command to change settings in my own tenant??????
Settings I could freely change a year ago, what the bloody hell are Microsoft playing at?
Are you trying to drive users away from you diabolical platform?
Finally a step by step that works.
All thought I got an error on the "Enable-OrganizationCustomization"
I just skipped to the next line and it worked.
Thank you :)
This is the most solid way to fix the issue running Enable-OrganizationCustomization:
Update to the latest Powershell module, at the time of writing the latest version is EXO V2 2.0.6-Preview5
Run the following commands on elevated/Administrator Powershell on your LOCAL COMPUTER:
Install-Module PowershellGet -Force
Update-Module PowershellGet -Force
Install-Module ExchangeOnlineManagement -Force
Set-ExecutionPolicy RemoteSigned -Force
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.6-Preview5 -AllowPrerelease
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Install-PackageProvider -Name NuGet -Force
Install-Module -Name PowerShellGet -Force -AllowClobber
Now sign in to the Microsoft 365 tenant:
Connect-ExchangeOnline -Credential $UserCredential -ShowProgress $true
Ran the command:
Enable-OrganizationCustomization
Then run the command Get-OrganizationConfig | fl isdehydrated
The status that you want to see is IsDehydrated : False
Works perfectly!
I worked with Microsoft 365 support tonight and they quickly fixed this problem for me. They said that after the first time you try to edit the policy, you can wait 24 hours and then will be able to enable external email forwarding, but to enable it immediately, just open Windows PowerShell as Administrator (you might need to download and install the Exchange Online PowerShell module first), then run the following commands:
Connect-ExchangeOnline -UserPrincipalName youremailher@yourdomainhere.com
Enable-OrganizationCustomization
Set-HostedOutboundSpamFilterPolicy -Identity Default -AutoForwardingMode On
Get-HostedOutboundSpamFilterPolicy -Identity Default
That's it! Woo Hoo!
Hello everybody
My problem : I want to authorize "forwarding" -
I find de way : https://security.microsoft.com/antispam, But before I need to authorize "customisation"
I do that :
1) $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection OK
2) Login admin : OK
3) Import-PSSession $Session -DisableNameChecking : NOK
4) Enable-OrganizationCustomization : NOK
If somebody has a way to resolve that, with all the command
Thanks and best regards
Gilbert