Create subscription API in Microsoft Graph fails to validate incorrect notification url
I am passing incorrect notification url in create subscription request, and response is 201 "Created", where ideally it should fail and return 400 "Bad Request".
Steps to reproduce the behavior
Fire create subscription API via postman:
Url - https://graph.microsoft.com/v1.0/subscriptions
Request Type - POST
Body -
{
"changeType": "created",
"notificationUrl": "https://webhook.azurewebsites.net/api/send/myNotifyClient",
"resource": "me/mailFolders('Inbox')/messages",
"expirationDateTime":"2016-11-20T18:23:45.9356913Z",
"clientState": "secretClientValue",
"latestSupportedTlsVersion": "v1_2"
}