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

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

Related

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?

Migrate existing users (and tokens) from Outlook REST API to MS Graph

Hi we have a system that already has a large userbase (100k+) of microsoft users which we push updates to, using the refresh token we have saved during their inital signup.
The REST APi will get deprecated on the 30th of November in favour of the Graph API. https://devblogs.microsoft.com/microsoft365dev/outlook-rest-api-v2-0-deprecation-notice
I have upgraded all API calls to the new graph api but am faced with the following error:
CompactToken parsing failed with error code: 8004920A
From further digging it seems like it is caused since the tokens are not interchangable between the two APIs:
https://learn.microsoft.com/en-us/answers/questions/1010061/migration-from-rest-to-graph-refreshed-token-throw.html
So is there a way to port these users into the new API without having them to go through the oauth flow again, since we don't have a functionality to request this from the users?
We were calling the token flow without the scope parameter, which was working fine with the DEPRECATED API. But with the new Graph API, we had to add the relevant scope query param, and the returned token worked with the new API calls. Hope this helps someone.
Also related, the Exchange Team has published on Nov 23, 2022 that the decommissioning has been pushed to 2023, and that they will give a 6 month notice prior to the actual decommission date.
https://techcommunity.microsoft.com/t5/exchange-team-blog/outlook-rest-api-v2-0-and-beta-deprecation-update/ba-p/3682745

What would be the equivalent of customers.get in V11 Google Ads API?

I have an old API that I need to support. It uses the v9 of Google Ads API:
https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers/get
Now I need to update to V11 but can't find an equivalent endpoint because it was removed.
Anyone? :(
According to this release note, since v10 upto the latest API version (v11), the get method and any services that exclusively had a get method have been removed. Retrieve objects with Search and SearchStream from GoogleAdsService. With this, the report type that I can suggest to get the account level information is the customer report.

Microsoft Graph List places api not returning updated results

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?

Alternative for https://gdata.youtube.com/feeds/api/videos/<video_id>?v=2

These days I noticed that Youtube API which I'm using on my project is no longer available, e.g.
https://gdata.youtube.com/feeds/api/videos/dLEk9yiXVQs?v=2
returns HTTP 410 response code which means that requested resource is no longer available and will not be available again.
What should I use instead?
If I'm understanding your question correctly then you should be using https://www.googleapis.com/youtube/v3/videos?id=<video_id>&key=<YOUR_API_KEY>&part=snippet from now on.
Google shutdown the old API effective April 20th, 2015.
Take a look at the newest v3 API getting started.
You can use this link with your Youtube channel id after the = and it should work.
https://www.youtube.com/feeds/videos.xml?channel_id= your youtube channel id number

Resources