HTTP Status code 404
Symptoms
Error: “Status Code : 404 | Status Reason: Not Found"
Error: "Occasionally 404 responses are related to the user account permissions not granting access to the Message Trace API”
Error: <A response received from the Office 365 Message Trace REST API displays>
Causes
404 responses are usually due to the server not being found. However, the Office 365 Message Trace REST API can return this response when the User Account that was provided does not have proper permissions. Most instances of this exception occur because the User Account does not have the necessary permissions.
Resolving the problem
To resolve your HTTP Status code 404 error, ensure that the user accounts have the necessary permissions. For more information, see Office 365 Message Trace REST API protocol FAQ.