Forum Discussion
DanielaH
May 22, 2019Brass Contributor
Customize Error Messages?
Hello, Is it possible to customize SPO error messages? For example: We have a retention policy in place that gives users an error when they try to delete a site. In this case we would like to cus...
- May 22, 2019Unfortunately no. Microsoft does not provide a way to customize errors coming from the backend such the one you mention here
Dean_Gross
May 26, 2019Silver Contributor
DanielaH while you cannot customize those error messages, you could create a Flow to send a message to the user.
- DanielaHMay 27, 2019Brass Contributor
Hi Dean_Gross
Thanks so much for the suggestion - I did not know a Flow can be triggered from a SPO Error message! Can you share what the exact flow trigger is called to enable this?
- Dean_GrossMay 27, 2019Silver ContributorSorry, I was not very clear, I did not mean to imply that an error message could trigger a Flow, I don't think that is possible, but there are other events that may be useful. One approach would be to monitor the Audit Log for Site creation events and use that to start a Flow, an article describing this was recently published at https://flow.microsoft.com/en-us/blog/custom-connector-microsoft-flow-search-unified-audit-log/ , one caution about this approach is that it takes a while for the log to process all of the events so you would not be getting messages delivered immediately.