search - Searching with Office 365 Unified API -


i having trouble using new office 365 unified api searching email. appreciate if help.

i following error:

{"error":{"code":"errorinvalidargument","message":"the value specified search scope 'primarymailbox' invalid."}}

i able access token graph.microsoft.com , retrieve messages inbox doing "https://graph.microsoft.com/beta/me/messages".

however, when add search parameter $search="tomcat", error copied above. ideas how can resolve this? there documentation clarify this? have searched office dev center documentation in detail not find searching in unified api. eventually, want use unified api search users' contacts, calendar entries, onedrive files, , sharepoint online.

on related note, can search mail messages using existing office 365 api making call "https://outlook.office365.com/api/v1.0/me/messages". however, more interested in streamlined unified api approach , hope can resolve above issue.

also, there way search mailboxes in single search using either existing api (https://outlook.office365.com) or new unified api (https://graph.microsoft.com/)?

thanks.

mohammad

san jose, ca

the unified api preview documentation lists supported query parameters, , $search isn't included. support $filter, can basic searches using that.

the mail api support $search, there no way search across multiple mailboxes in 1 query.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -