I am summarizing the question again-
- Customized report button message is not appearing for all the users in the corporate.
- When we set the customized report button message, its throwing an error-
Does the problem occur in the Outlook desktop client?
-> This problem is on web application as well as on the desktop app-
What are the account types (POP/IMAP/Exchange)?
->Exchange
What is the version of the desktop client?
Version 2409 (Build 18025.20160)
If it happens in the Outlook desktop client, follow the steps in this document to properly enable the report message feature. https://learn.microsoft.com/en-us/defender-office-365/submissions-users-report-message-add-in-configure
This URL talks about report button Add-Ins, we did not utilize Add-Ins. We used default outlook report button which is available in latest versions. we referred to this link to configure it-https://learn.microsoft.com/en-us/defender-office-365/submissions-outlook-report-messages#use-the-built-in-report-button-in-outlook