Searching all users' emails in office 365 for items sent to certain people - microsoft-graph-api

When someone views contact details in our CRM, I would like to pull in a summary of recent correspondence.
I can search one user easily enough:
https://graph.microsoft.com/v1.0/users/jo#example.com/messages?$search="bob#example.com"&$select=from,sender,toRecipients,subject
But you have to cross reference every user with every contact is a lot of requests.
Is it possible to search the Microsoft Graph for all emails sent from/to an address from/to all users?
If not, is there any other API / Tech out there that could get me the information.

It isn't possible to search across mailboxes from Microsoft Graph API.
I recommend visiting the UserVoice and adding your suggestion.

Related

Retrieve contact list name and members via Graph API

I'm trying to retrieve "contact lists" (distribution lists) from a Microsoft 365 account using the Graph API and direct http calls. Right now I use this URL:
https://graph.microsoft.com/v1.0/users/{userid}/contactfolders/{folderid}/contacts?$top=500&$count=true
This does retrieve the various contacts I have, but not the names of any contact lists or their members. The "count" of items that is retrieved does include those contact lists but not their actual data.
I have tried the "people" and "groups" endpoints but those retrieve different information, not what I am looking for.
I know I can use EWS for this purpose, and I have, but I'm trying to convert my existing application to 100% Graph. I would appreciate any information, thanks.
I've sent a user voice requesting for this feature: https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/fetch-contact-group-using-graph-api/idi-p/3262621
Do support if you think there's no feature currently available in Graph API to fetch contact list!

Is there any way to get the list of joined teams details of members?

Is there any way to get the list of joined teams details of members except graph API? Using graph API of below link we can get the list of joined teams details of any members. Similarly, is there any other way to get the list of joined MS teams group details? I want to use these details in Microsoft bot framework.
https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=csharp
Due to some security concern I can not use graph API as of now.
I am also exploring below link but I am not getting anything here... Looking for any REST API like graph API where I can provide the users name and I can get details.
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=dotnet
It's not a security concern, rather it's part of the requirement. If i am in your place, i would set Graph API as prerequisite for my app to work, explain the benefits that you're going to get with Graph/application permissions. Apart from Microsoft Graph API you can try with Powershell, CLI.

Outlook Contact Sync

I want to make an application which sync Outlook. I found there is an API service called Microsoft Graph, but it only allow me to retrieve the contact list.
Let's say I have 1000 users with 200 contacts. If I use polling method, then the complexity will be very complex. Do you guys have any idea to solve this problem? Thank you
The best way to get data from Microsoft Graph in sync with a 3rd party system (native app, backend service...) is to use delta queries. Personal contacts are already supported by the functionality.

How to get free and busy rooms details in microsoft graph API for particular time period?

Is there any microsoft office graph API available where I can get available and busy meeting room details.
My requirement is that I will pass some start date time and end date time and expect all the available and busy room list.
As for as I know we can add room outlook portal admin section.
I have gone through below findRoomLists and findrooms API they are just giving rooms information not there status busy/free.
I want status also Is there any functionality available in graph API.
https://graph.microsoft.com/beta/me/findRoomLists
https://graph.microsoft.com/beta/me/findRooms
Have gone through below link but no help.
How to display a list of available meeting rooms at present using Microsoft Graph API
Can't get all busy times of meeting rooms using the Office365 Calendar API
Thanks
Ajay Tiwari
After searching a lot I found Microsoft has an API to do this thing. See https://learn.microsoft.com/en-us/graph/api/calendar-getschedule?view=graph-rest-beta
Description says
Get the free/busy availability information for a collection of users, distributions lists, or resources, for a specified time period.
There's one catch though, it is in beta you have to be careful to use it in production. But for now it is working great.

Google Books API rate limiting information?

I can't find any information on rate limiting with the Google Books API. I'm interested in doing ~300K total ISBN queries to retrieve lists of book categories, and I want to throttle my requests to stay under their limit. I have a developer API key, but not OAuth. Does anyone know what the rate limits are for the Google Books API, or at least have a ballpark?
According to this post,
https://groups.google.com/forum/#!topic/google-api-java-client/_TFuPpAKSew
Around 100k/day is not a problem.
You can also request more quota, if you need it, as follows:
Go to the API Console (https://code.google.com/apis/console)
Select "Quotas" on the left navigation pane.
Click on the "Request more..." link and submit the form.
"Your quota request should be processed within a few business days at most. Basically we want to hear from our developers so we know what type of traffic they are sending, so we can add resources to accommodate them as necessary. But from what you describe, perhaps 100K/day, should not be a problem."

Resources