Error create subscription

Lê Văn Hào 40 Reputation points
2024-07-09T04:18:35.2133333+00:00

I get an error message but it's not clear, can you tell me what I need to fix for my request?
User's image

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
325 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
4,017 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,276 questions
{count} votes

Accepted answer
  1. Yakun Huang-MSFT 6,570 Reputation points Microsoft Vendor
    2024-07-09T07:12:57.54+00:00

    Hi @Lê Văn Hào

    According to your screenshot, there is nothing wrong with the way you requested it, the problem should be with the endpoint you subscribed to, and your notification endpoint must be able to validate the request accordingly and return the authentication token in plain text.

    If your subscription endpoint is not validated correctly, 400 error requests will occur.

    User's image

    Please refer to this link for more details:

    https://learn.microsoft.com/en-us/graph/change-notifications-overview#notification-endpoint-validation

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.