AD Graph API get calendar details - azure-ad-graph-api

I need to pull down calendar details with AD graph API. How do I achieve this ?
I see lot of example with Microsoft graph API but not for AD graph API. Any pointers ?
Looking for API end point documentation for https://graph.windows.net to pull down
the calendar details

Unfortunately, AAD Graph API does not support to get the calendar. See all the AD Graph APIs here: Azure AD Graph API reference. The MS Graph API and AD Graph API are different, they will have some features different from each other.
In the official doc, Microsoft strongly recommends that you use Microsoft Graph instead of Azure AD Graph API. They are no longer updating the content of AD Graph API regularly and Microsoft Graph is where they are investing for Microsoft cloud services.
As you may have found, you could use MS Graph API : Get calendar to do that. Besides, for more details about the difference between MS Graph API and AD Graph API, see this link : What is the difference between Azure AD Graph API and Microsoft Graph API.

Related

How to fetch marketplace insights using api for facebook?

I want to get insights from the Facebook marketplace via their API. I can see that there is a way to do it manually where a user can view the insights of individual listings or of all of listings at once.
Refer docs: https://www.facebook.com/help/265775098821464/?helpref=uf_share
To solve this, I referred to the insights api but these are used to access the marketing data.
Docs : https://developers.facebook.com/docs/marketing-api/insights/
Is there a way to do this via their api?

Facebook Graph API: how to read feed of Facebook groups that I don't manage?

Facebook has a very useful API that can be used to get the feed of a Facebook group (see this link). One of the requirements for using this API is that my app must be installed in the group. As far as I know, I can install apps only in groups that I manage.
My question is how can I get the feed of a group by an API, if I don't manage the group? Is is possible by Graph API or by any other piece of software?

Adding MS Graph API Oauth in Azure Bot Services using REST API

I am using REST API for Azure Bot Services and GRAPH API for creating MS Teams Bot.
I have been using two different oauths for my application since I require my bot to get details from GRAPH API.
https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token - for bot services
https://login.microsoftonline.com/common/oauth2/v2.0/token - for graph api
Is there a way to combine them, and use single ouath for both the purpsoses? I went through the documentaion and there is a way where bot can ask for graph api authentication from user.
I saw many examples for SDKs but I am not able to figure out how to do this in REST API.
I have followed this documnetation uptil here.
Can anyone please let me know if I am doing it right and further steps to be taken to add MS Graph API Oauth in Bot itself?
No. There is no way to combine them. We can only use a one token for one purpose.
The document you provided is to tell that we can use a bot to call Microsoft Graph. See reference here: Add authentication to a bot.
Creating the bot and use the bot to call Microsoft Graph should be should be two separate processes.
After creating the bot, you need to configure the AAD authentication to it, then you could use it to call Microsoft Graph.
See the Bot Graph sample.

Can I get or set user thumbnail photo using Azure AD REST API?

I'd like to manage active directory user's thumbnail photos using Azure REST API. It can be Azure Active Directory REST API, Exchange Online REST API, Unified Graph API. Any of those.
Unfortunately the object that is returned from graph API does not contain photo data. And $link references did not work for me either.
Any ideas?
Regards,
Dmitry
Yes, you can. Try this:
HTTP GET https://graph.windows.net/<directory_name_or_id>/users/<users_upn_or_objectid>/thumbnailPhoto"

How do I publish an activity on facebook using the Graph API

The old Facebook Legacy REST API had a function dashboard.publishActivity, however the new Graph API only allows messages to be posted on /me/feed.
Is there a way to send activities using the Graph API?
As mentioned in http://developers.facebook.com/blog/post/552/ Facebook "have removed the section which displayed the News that developers published via the Dashboard APIs in the Games Dashboard". Therefore the dashboard.publishActivity function no longer provides any useful functionality. My recommendation is to switch to either using stream posts or to Requests 2.0, as these will provide the same sort of distribution that you're looking for.