Change notifications - giving error : "Subscription validation request failed. Response must exactly match validationToken query parameter."

Arunkumar Akuthota 26 Reputation points
2022-05-31T05:17:58.937+00:00

Hi Team - I am trying to invoke the webhook created by me. It is not getting invoked if i try it from the graph API. Getting the error as below screenshot.

Kindly do the needful.

206908-image.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,221 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Arunkumar Akuthota 26 Reputation points
    2022-05-31T06:05:27.567+00:00

    The above error is fixed but getting below error.

    Specified resource is not supported for MSA requests.


  2. Arunkumar Akuthota 26 Reputation points
    2022-05-31T06:06:06.16+00:00

    ![206910-image.png]1

    0 comments No comments

  3. Arunkumar Akuthota 26 Reputation points
    2022-05-31T06:23:19.723+00:00

    If I provide a resource which supports, It is giving me below error even though added permissions. Kindly let me know which permissions are required or what is going wrong here?

    Please suggest solution for error - Specified resource is not supported for MSA requests. as well.

    206917-image.png

    0 comments No comments

  4. ShivaniRai-MSFT 2,726 Reputation points
    2022-06-02T10:16:30.663+00:00

    Hi @Arunkumar Akuthota ,

    Since you are using "resource":"me/mailFolders('Inbox')/messages" you need Mail.Read, Mail.ReadBasic permission granted in Modify permissions tab. Make sure to grant these permission.

    Reference Document: https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-beta&tabs=http#permissions

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

  5. Arunkumar Akuthota 26 Reputation points
    2022-06-02T13:44:59.65+00:00

    Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource '00030000-d205-2a66-0000-000000000000' hosted on database '14adcc7b-33b0-418a-9cea-71ccf4592c21' is currently on backend 'Unknown']

    The above issue resolved. Could you tell me why I was seeing this error ?

    0 comments No comments