Feedback by UserVoice

I suggest you ...

support subscription creation for mailbox with single quote via graph api

I have a mailbox named A'B@hisen.onmicrosoft.com.There is a single quote in this mailbox.

When I do subscription creation using the following request info:
{
"changeType":"created",
"notificationUrl":"https://uri/A'B@hisen.onmicrosoft.com",
"resource":"users/A'B@hisen.onmicrosoft.com/mailFolders('SentItems')/messages",
"expirationDateTime":"2019-02-15T00:36:05.587Z",
"clientState":"xxxx"
}

Microsoft return the following error message:
{
"error":{
"code":"ExtensionError",
"message":"Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Mailbox info is stale.]",
"innerError":{
"request-id":"4f5166cf-41f2-4062-ace6-81d28a4d1203",
"date":"2019-02-14T07:10:01"
}
}
}

I seems that this api does not support mailbox with single quote in it.

My question is, for mailbox with single quotes, how do we create subscription via graph api?

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Simon shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base