When calling the 'findRooms' endpoint and specifying the email address for a room list, the request works fine unless the email address contains special characters:
Example room list:
- Name:
Boston-rooms (1/3)
- Email:
Boston-rooms?1/3?@domain.onmicrosoft.com
(note that Microsoft removes whitespace and converts parentheses to question marks)
Example API call:
https://graph.microsoft.com/beta/me/findRooms(RoomList='Boston-rooms?1/3?@domain.onmicrosoft.com')
Specifically, it's the ?
and /
characters that are causing the issue. I've tried escaping ?1/3?
as %281%2F3%29
, but no luck. The same error is returned.
Sample response returned:
{
"error": {
"code": "BadRequest",
"message": "Bad Request - Error in query syntax.",
"innerError": {
"request-id": "126e8ffc-9b13-4d28-99da-2258a867d1ba",
"date": "2018-09-26T00:42:57"
}
}
}
This call works just fine for room lists without special characters, however for this application to function it must work with all rooms, and some do contain those characters.
Thanks!