How get free/busy slots of outlook Sub calendars, Image attached for reference - microsoft-graph-api

I'm using Microsoft get/free busy https://learn.microsoft.com/en-us/graph/outlook-get-free-busy-schedule API to get busy slots in the calendar but it only gives me slots for the main calendar. I need to find sub-calender slots too.
Anyone, please help.
I need Microsoft API which returns free/busy slots for sub-calendar for United States Holidays, Birthdays, Test calendars etc

Related

How to get one specific instance (e.g nth occurrance) of a Meeting Series using MS Graph API

In MS EWS API, It was possible to get nth instance of a meeting series by providing series index.
We are migrating our EWS implementation to MS Graph. But I could not find an API to do the same.
I have found a different implementation to fetch all instances of meeting series with a date range.
https://learn.microsoft.com/en-us/graph/api/event-list-instances?view=graph-rest-1.0&tabs=http
But this new endpoint does not fit our implementation as our application and outlook calendar are out of sync by design. So, we don't have a definite start/end date to search for a single instance.
Is there an API or workaround to fetch nth instance of a meeting without providing date range.
Thanks in advance.

How to find the ID of a shared or group calendar to use with MS Graph API?

I've been googling for 30 minutes and can't believe I can't find this. I'd honestly like a nonprogrammatic solution. I'm working with Graph API and attempting to list the events of a group calendar. The docs say to use the endpoint /me/calendarGroups/{id}/calendars/{id}/events, but as far as I can see they don't say how to get the ID.
The app I'm writing will always use a very specific calendar, so I don't need to enumerate calendars. In other words, I'd like the calendar ID to be hard coded. Where on earth can I find the ID? I've poked Outlook with a stick a few dozen times and browsed the M365 admin portal. No luck.
You should be able to use the Graph explorer https://developer.microsoft.com/en-us/graph/graph-explorer and then use https://learn.microsoft.com/en-us/graph/api/user-list-calendargroups?view=graph-rest-1.0&tabs=http to enumerate all the Calendar groups to get the Id. You could also take the PR_EntryId from Outlook and convert that to a GraphId using https://learn.microsoft.com/en-us/graph/api/user-translateexchangeids?view=graph-rest-1.0&tabs=http

MS Graph Report API getOffice365ActiveUserDetail - Users are missing

Following situation i have expierenced in several tenants:
with Application permission:
~ 35.000 users show regular activity in the tenant
API: the getOffice365ActiveUserDetail API show ONLY 23.000 user objects with recent activity
--> even if you extend the duration from 7D to 180D, the amount of 23.000 users remain almost the same :(
Questions:
-Are there any undocumented limitations for this API in terms of number of users one can retrieve from this API?
-why does the change in the duration not change the total number of users in the dataset?
Any appreciate your help and feedback
thank you

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.

YouTube Monthly views checker API and PHP?

My question is if there's a way to get the monthly original views. From a YouTube channel with Google Authentication system and YouTube APIs. Because i'm writing a little script that say's like when a curtain person get over a amount of, monthly views they will get sended further in to the site and get a document send through. Else they go back to the homepage, Is it possible to do this so yes how because i can't seem to find a way
You can use the YouTube Analytics API to run a report against a given video to request the number of "uniques" aggregated by month, for an arbitrary date range. The report definition would look something like
ids=channel==UC...
dimensions=month
metrics=uniques
filters=video==VIDEO_ID
start-date=2013-01-01
end-date=2013-01-01
You'd have to run that report once against every video in the channel, though, and add up the totals.
Note that the end-date is NOT the last day of the month you're looking for, it's the first day of that month again (i.e. it's a "month identifier", not a range of days).
You should note that you need to have an OAuth 2 token for the owner of the channel with the appropriate YouTube Analytics (and Data API, to get the list of videos) scopes in order to run that report; you can't just run an arbitrary Analytics report for an arbitrary video without being authorized.

Resources