Microsoft Graph List places api not returning updated results - microsoft-graph-api

Hello Microsoft Graph Team,
I am using Microsoft Graph Apis. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response.
I am using the below api:
https://graph.microsoft.com/v1.0/places/microsoft.graph.room (Production version)
The standard api gives response after aprrox 12-24 hours.
Could you please help me on this?

Related

Recall an email using Microsoft graph api

I am using microsoft graph api to fetch emails from office365. There is need to have recall functionality but not able to locate the required api.
Can someone help me in here. I am not sure if such API even exists
There is no endpoint in the Graph for message recall it's all private API's in the clients that implemented it. You could add this as a feature request for the the graph https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform

Microsoft Graph API national cloud support to list places

I am trying to use the following US National Cloud URL along with access token to list rooms as per this document https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http.
https://graph.microsoft.us/v1.0/places/microsoft.graph.room?$top=5000
https://dod-graph.microsoft.us/v1.0/places/microsoft.graph.room?$top=5000
I am getting the following error:
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
However it works fine with this global endpoint -
https://graph.microsoft.com/v1.0/places/microsoft.graph.room?$top=5000
Since places API was not supporting I tried to use the graph beta API -
https://graph.microsoft.us/beta/users/{0}/findRooms
This works fine with national cloud end point.But this does not list more than 100 rooms.
Is there any other API which I can use to list the more than 100 rooms which is also supported by national cloud API?

call Read Reports API from MS Graph API in Microsoft Teams but using this Api

I'm trying to call Read Reports API from MS Graph API in Microsoft Teams but using this API :
https://graph.microsoft.com/v1.0/reports/getTeamsUserActivityUserDetail(period='D7')?$format=application/json
but it gives me the following error:
Unhandled Rejection (Error):
{
"error": {
"code":"S2SUnauthorized",
"message":"Invalid permission."
}
}
I'm using MSAL authentication and Graph client, I did everything exactly the same in the tutorial of Microsoft Graph and I provided the required permission, Registered the App, added everything correctly in Azure and Granted permission by admin, changed them to Application from delegate it works for all other APIs but this API isn't working.
I couldn't found any documentation related to call Read Reports API. It could be helpful if you have shared the tutorial which you are following. Please check this documentation for call record API

https://graph.microsoft.com/v1.0/places/microsoft.graph.room Api is not giving updated data

I am Using Microsoft Graph to fetch list of rooms available for a tenant.
As per Documentation, List Palace Api (https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http) should be used for this.
Now, I am facing problem with getting updated data using List Places api.
I have added few rooms to the tenant but those are not reflected as part of response for List places api.
However, findRooms api which is in Beta gives the updated response.
https://graph.microsoft.com/v1.0/places/microsoft.graph.room (Production version)
https://graph.microsoft.com/beta/me/findRooms (Beta version)
Since, I will be using this api in production I cannot use Beta version Apis.
Please suggest. Thanks in advance.
Update: List Places api is returning updated response after approx 12 hours

Google Reporting API with oauth 2.0

I want to use Google Reporting API to get the users' activity report (last login, etc).
My application is using oauth 2.0 to access other Google APIs. But it seems like Google Reporting API is not supporting oauth 2.0. Any suggestions how should I do it ? Implement oauth 1 or use different Google API (if it exists) to get users' activity report?
I think you are looking at the old documentation for the reporting API.
For the brand new reports API (https://developers.google.com/admin-sdk/reports/v1/guides/authorizing), it is encouraged to use OAuth 2.0.
Notice that the older API is called reporting API, but the new API that was just released at the IO is called reports API.

Resources