>> Hi France. Am Yina Arenas,
program manager on the Microsoft Graph team.
Today, I'll share a brief overview about what
is Microsoft Graph and why is it important for you,
what are the new features that we
released in Build 2018 and
how you can get started with
Microsoft Graph in your own applications.
So, what is Microsoft Graph?
Microsoft Graph is all about you.
If you or your customers are part of
the millions of users that are
using Microsoft's cloud services,
then Microsoft Graph is a fabric to all of your data.
There are over 120 million monthly, active,
commercial users,
over 180 countries that are half data in Microsoft Graph.
Just over the past year,
usage of the Microsoft Graph has
increased over 800 percent,
and we have over 27,000 applications
making a collective eight billion API
calls to Microsoft Graph.
So as a developer,
it means that you can use Microsoft Graph to
tap into Microsoft 365 services and experiences,
and use them in your own applications.
Microsoft Graph gives you a unified REST API,
and a comprehensive developer experience for
integrating with data and
intelligence exposed by these services.
Do you need to inject collaboration in your app?
Well, connect it to Microsoft teams.
Do you need file and content management?
Then connect it to SharePoint.
Or if you need email and calendar integration,
you can connect it to Outlook.
For identity management, we have Azure ID.
For device management, you can connect to Intune.
All of these services and much
more are available to you in
the Microsoft Graph through
a single REST API endpoint, graph.microsoft.com.
And to top it off, this all
works whether you are building an application for
work or school or
personal use through a single authentication flow.
So Microsoft Graph gives you access to tons of data,
relationships and insights and we're constantly
growing those data sets by adding
new Microsoft cloud services.
This year, at Build 2018,we
announced lots of new APIs and features.
More than I can actually fill on a slide.
To get a full view of all the new releases,
check our blog and the new change log in our website.
It's actually not new but it's still there.
Also check all the videos in this series
that have the latest news for each of the APIs.
Here, I'm going to highlight just a few.
First, I'm going to start with
the Project Rome Activity API from Windows.
We announced the general availability
of these APIs in the Microsoft Graph.
These APIs enable you to drive
User Engagement with your apps
across devices and platforms.
Each activity shows up in the Windows timeline and has a
deep link,a rich visualization using adaptive cards,
unconsummated data describing the activity.
Next, we have the security APIs.
We announced the preview of
the security APIs in Microsoft Graph,
this brought a standard interface and common schema for
integrating security solutions
for Microsoft and partners.
You can access or act on
security insights from multiple sources.
And partners can contribute
security alerts and expose
security actions through the graph.
Then we have Webhooks for users and groups,
which are now also available.
Do you want to get notified every time
a new member is added to a group to trigger a workflow?
Then with this new functionality,
we're making it super easy to get push notifications
for important changes to data in the graph.
Then we have updated Outlook APIs,
we've added a ton of features for this release,
like working hours, message rules,
categories, time zones, heathers, and much more.
Helping you easy integrate email and
calendar functionality in your app
for users that collaborate across the globe.
One of my favorites is
the new open API descriptions for the Microsoft Graph.
You might know this from their previous name 'Swagger',
which is a widely adopted REST API description
and documentation form it.
Well, Swagger descriptions have a new name,
which is open API.
The current version is V3.
And we're making open API descriptions
available for all Microsoft Graph.
Today, you'll find them on argued Huberty BOPE,
and pretty soon will make them
available as part of the API endpoint.
Then, coming soon, am really happy that
we announced two services
that will be joining the Microsoft Graph family.
The first one is
the Spatial Analytics services to get data
from IoT and devices in your organization.
And then the other one is user notifications.
That is a service they you can
use for storing and forwarding
notifications across devices on
a per app and a per user basis.
To find information about all of
these features and more and to
get started with all of these features,
just go to dev.microsoft.com/graph.
That's where our developer portal is and
right now let's see a demo of Microsoft Graph in action.
The first step on our demo,I actually
wanted to show you our developer portal.
It's hosted on dev.microsoft.com/graph and it has
all of the information that you need to get
started with developing with Microsoft Graph.
I'm going to point you to two locations in this
portal.The first one is going to be our Quick Starts.
So if you want to get
an application up and running in less than three minutes,
in all of these different platforms that you have here,
then you can come to the Quick Starts,
follow the workflow that we have in place and get an app,
download an app that you will be able to just F5 and run.
Pretty simple. The second place that I wanted to
point you out is to our Graph Explorer.
Graph Explorer is a very cool tool
that allows you to make requests to the API,
whether or not you have an account.
So, right now, I'm not logged in using
my account and I can run sample queries to the graph.
There's also set of samples that
we have prepackaged here.
We have a set of getting started queries
and then we have more samples
that you can turn on and
off about the service that you want to integrate with.
It will show you sample queries
and it will give you pointers to
the documentation that we have for each of the APIs.
And finally, our documentation,
where you will find all of the information
about the API reference and
all of the different things that you can
do with the Microsoft Graph API.
Now let's take a look at a demo
using the Microsoft Graph
and connect it to the Bot framework.
In this demo, we're going to be showing
a Bot that is connected to the Microsoft Graph,
to take files that are sitting in
one drive and then create an actionable message,
to send it over Outlook using adaptive cards.
So let's get started with the Bot.
First, we're going to say ''Hi''
and get approval is what this Bot is trained to do.
This particular Bot, so we've already logged in,
so it's going to go straight to
make a graph.microsoft.com request.
In this case, we're using client library
and we're making a request to
OneDrive to bring all of the files that are
sitting in the Bot. So, we're going to continue.
And it's going to
show me the list of all of
the files that found in OneDrive.
I'm going to click on one of
the files and the next request that it's going to
make is going to bring in the information for the file.
In this particular one,
it's bringing the thumbnails.
It turns out that OneDrive
supports that you get thumbnails for all of
the different files that are hosted in OneDrive and
there are actually 200 file formats that are supported.
What you get back is a URL and from that URL,
you can create your own base64
encoded version of the image of the file.
So, we're going to continue here.
And the next thing
that we're going to see is
all of the information about this file,
metadata from the file and the thumbnail that
was created from the thumbnail URL.
Next, we're going to
tell the Bot that this is the file that we're selecting.
So I'm going to click yes over here,
we're going to continue over here.
And it's asking me, ''Who
should I send this for approval?''
So we're going to click and type in the email,
then we're going to
send the request and what the Bot is going to do,
is going to create
the payload that is going to be
using to send over the email.
First, it's going to bring the picture
of the user that is making the request.
Then, it's going to bring
in the additional information of the file.
Actually, converting data in due to
that base64 encoded image,
and then it's going to send the email with
that actionable message into the person's inbox.
So let's check that out.
I think I have this window over here with this account,
and let's go to Outlook.
And what we're going to see
is an email that has
that actionable message that was sent from the Bot,
asking for an approval on that particular file.
Should have seen the email, but the email is not there.
Let's click on ''Send the request'' again,
and of course continue on my break point,
and go back to refresh
the inbox, and here's the email.
So when we look at this email,
we're going to see an actionable message,
and then we're using Adaptive Cards.
It's right here, we have a little bug OWA
that's hopefully will be fixed
by the time that you're looking this video,
watching this video, and then I can go ahead and
approve this workflow right
here within the context of my inbox.
If we look at this card and actually go and look at
how it looks on the visualizer and adaptivecards.iO,
you will see that this is a very common,
like the visualization that we get
for Outlook actionable messages,
is just JSON format that it's very easy
to author and play around with.
Okay, let's go back to our Bot and our code,
and I think that sums
up what I wanted to show for this demo,
which is a Bot that is using
the Microsoft Graph to integrate with OneDrive,
bring in thumbnails from OneDrive files,
and then creating actionable messages using
Adaptive Cards to send an email from Outlook.
So to recap, Microsoft Graph is
the gateway to your data in the Microsoft cloud.
As a developer, you can build applications that
connect to your customers in Office 365,
Windows, and EMS using Microsoft Graph.
Giving your access to their identity,
rich content, deep insights,
and real time updates,
and of course following strict privacy,
security, and access control policies.
You can get started today, right away.
Visit our developer portal,
ask questions in Stack Overflow,
or check our samples and get help.
We actually have a space where the Community is
contributing more and more samples every day.
And we'll love to hear from you on Twitter as well.
Thank you for taking the time to learn about
the Microsoft Graph with me today, and happy coding.