I want to run the node.js webhook sample, I created new tenant and tried to sign in and subscription.
Login was successful, but subscription failed as shown below.
GraphError: Operation: Create; Exception: [Status Code: Unauthorized; Reason: The tenant for tenant guid '33d0624b-a540-4469-a789-0cb5f27bbd7e' does not exist.]
at new GraphError (E:\outlook\nodejs-webhooks\node_modules\@microsoft\microsoft-graph-client\lib\src\GraphError.js:34:28)
at Function.GraphErrorHandler.constructErrorFromResponse (E:\outlook\nodejs-webhooks\node_modules\@microsoft\microsoft-graph-client\lib\src\GraphErrorHandler.js:62:22)
at Function.<anonymous> (E:\outlook\nodejs-webhooks\node_modules\@microsoft\microsoft-graph-client\lib\src\GraphErrorHandler.js:89:48)
at step (E:\outlook\nodejs-webhooks\node_modules\tslib\tslib.js:143:27)
at Object.next (E:\outlook\nodejs-webhooks\node_modules\tslib\tslib.js:124:57)
at E:\outlook\nodejs-webhooks\node_modules\tslib\tslib.js:117:75
at new Promise (<anonymous>)
at __awaiter (E:\outlook\nodejs-webhooks\node_modules\tslib\tslib.js:113:16)
at Function.GraphErrorHandler.getError (E:\outlook\nodejs-webhooks\node_modules\@microsoft\microsoft-graph-client\lib\src\GraphErrorHandler.js:85:38)
at GraphRequest.<anonymous> (E:\outlook\nodejs-webhooks\node_modules\@microsoft\microsoft-graph-client\lib\src\GraphRequest.js:315:84) {
statusCode: 401,
code: 'ExtensionError',
requestId: 'd25270a7-62b1-42f0-b85a-f19da6e80445',
date: 2022-06-27T21:39:55.000Z,
body: `{"code":"ExtensionError","message":"Operation: Create; Exception: [Status Code: Unauthorized; Reason: The tenant for tenant guid '33d0624b-a540-4469-a789-0cb5f27bbd7e' does not exist.]","innerError":{"date":"2022-06-27T16:39:55","request-id":"d25270a7-62b1-42f0-b85a-f19da6e80445","client-request-id":"8a7fd4cf-b6b8-0c02-f685-ec162e5a9b68"}}`
}
I couldn't find out why this error occurred.