Users will get  the 404 error if the school does not have an onMessage front end site where the content would be posted. Additionally, users are not prompted to log in if the category the announcement was added to is Public. If you instead change this to Secure and for the All School role, users will be prompted to log in and view the message.