KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
758 stars 4.42k forks source link

Enabling/Disabling SpamFilter #2524

Closed BNWEIN closed 4 weeks ago

BNWEIN commented 4 weeks ago

Description

This currently fails in both the front end, and the API with error:

System.Management.Automation.RuntimeException: |Microsoft.Exchange.Data.Directory.InsufficientPermissionsException|Source server:LO3P123MB2985.GBRP123.PROD.OUTLOOK.COM doesn't have write permission to target DC:. Usually it indicates that target forest isn't an account partition of source forest. The user has insufficient access rights.

I would assume its missing an -anchor

Environment data

Frontend: 5.7.1
Backend: 5.7.4
github-actions[bot] commented 4 weeks ago

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

BNWEIN commented 4 weeks ago

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug

BNWEIN commented 4 weeks ago

This one is a bit strange, because once in a while it does work, but if you manage to enable it and then try and disable it a few minutes later it fails.

KelvinTegelaar commented 4 weeks ago

Fixed in dev by @kris6673