Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,145 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm attempting to create a simulation email with Microsoft Graph Explorer but have encountered an error message labeled with "BadRequest." It's related to the "endUserNotification" property within the payload; the provided value does not conform to the expected schema. The error message includes the following JSON:
"error": {
"code": "BadRequest",
"message": "Property endUserNotification in payload has a value that does not match schema.",
"innerError": {
"date": "2023-11-01T05:56:30",
"request-id": "ceccb0a9-699a-4245-a286-a77516bdfdab",
"client-request-id": "b0c432f7-9ec1-b355-17fc-9f9c16c0609f"
}
I've referred to an example from Microsoft on creating simulations, but the error persists. The example is available at:
https://learn.microsoft.com/en-us/graph/api/attacksimulationroot-post-simulation?view=graph-rest-1.0