Closed kakaiwa closed 1 month 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!".
I would like to work on this please
My comment was about another standard entitely. Nevermind
@KelvinTegelaar Thank you very much for checking. I might also consolidate the 2 standards into a single standard. I can see a situation where the Invoke-CIPPStandardUserReportDestinationEmail runs before Invoke-CIPPStandardUserSubmissions, causing an error because the policy doesn't exist yet.
implemented in dev, good job on your first pr! if you are in Discord tag me so I can mark you a contributor.
Description
Currently, the Set the destination email for user reported emails standard does not work as expected. This is most likely because the standard currently only updates ReportSubmissionRule and not the ReportSubmissionPolicy.
https://learn.microsoft.com/en-us/defender-office-365/submissions-user-reported-messages-custom-mailbox
Expected result: the Add an exchange online mailbox to send reported messages to value for user submission policy should be the value configured in the standard Actual result: the Add an exchange online mailbox to send reported messages to value is empty even after the standard is ran. Log shows User Report Destination Email is already set to ...
Environment data