>> Hi everyone. My name is Yina Arenas,
and I am here to talk about Microsoft Graph.
Microsoft Graph is a free to use
rest API that you can access through graph.Microsoft.com.
It gives you access to
information across services from Office 365,
Windows 10, Enterprise Mobility and Security, and even Dynamics.
It supports users across
organizational accounts or work or school accounts,
and as well as consumer accounts.
It has one endpoint that you can use,
one access token, and a set of tools that
enable you as a developer to integrate into your applications.
For example one set of developer documentation, one SDK,
and even a toolkit that nowhere
announcing this year that enables you
to get components into your user experience.
As I mentioned before, Microsoft Graph
provides data across many different services.
It is a core schema for the data entities across Microsoft 365.
So if you have customers that have services in Microsoft 365,
whether it is Office 365,
Windows 10, or the Security Suite,
your customers have data in
the Microsoft Graph that you can integrate into your applications.
All of these different set of schemas are easy to use,
and are exposed through an API that
basically returns very simple JSON
to use so that you can interact with this data.
Now, Microsoft Graph is
a key component for the Microsoft 365 platform.
We build our own experiences on top of the Microsoft Graph.
Things like workplace analytics,
or the Windows Timeline,
or even the Office
Administrator portal are powered by the Microsoft Graph,
and you can build your own applications and integrate
into your experiences all of the data that comes from the API.
Furthermore, you can integrate into experiences that we build,
whether it is the Windows Timeline,
or documents through the Office Add-in
model on Word Excel PowerPoint and Outlook,
or in conversations like Teams.
Now, if you think about the set of
applications that you can build with Microsoft Graph,
there are four types that we heard most from the customers about.
The first one is about Portal applications.
These are web-based applications that
aggregate information about a contextually for a user.
In this category, we also see
a lot of mobile applications as well.
The key point of this category is that it is a user that is
always interacting on a transactional basis with the application.
The second type of application that we've seen
is the automation or business processes apps.
These are background service demon applications that interact
with the data in a large bulk processing.
The third one is around bots or dialogue applications.
This one is aware a board or an agent is
integrating with application on interacting with the user,
we see these a lot of integrations with Microsoft Teams.
Finally, analytical apps.
In this type of applications,
you will be generating insights based on
bulk processing of the data that is available in Microsoft 365.
We offer core capabilities like
Microsoft Graph data connect
that enables you to establish a connection,
a secure connection between Office 365 and Azure Data Lake.
That way, you can export that data in bulk and
then do processing of the data using Azure tooling.
This capabilities enable you to generate
insights out of all of the data
that is available through the Microsoft Graph.
Now, let's take a look at how you
get started developing with the Microsoft Graph.
The first thing that I'm going to point you
to is our documentation portal.
So if you type in your browser graph.microsof.com,
you will be redirected to our documentation portal.
Here, you'll find all of the tools and
capabilities that will enable you
to get started with the Microsoft Graph.
The first thing that I'm going to
point you to is our Graph Explorer.
Graph Explorer is a web application that
enables you to make web requests to the API.
You will be able to see that requests and
then see the response payload.
Here, I'm going to show you that
Microsoft Graph supports two versions.
The version one which is ready for production use and
the beta version that is basically
for the previous set of APIs that are
exposed and at some point in time will graduate to the v1 version.
Now I'm going to make a request to the me endpoint.
Me endpoint is basically a shorting token
for /users/ID for the user that's currently logged in.
Here, I'm using my alter ego Megan Bowen.
So I'm going to run the query and you'll
see that I get a response back with
simple JSON format of what it was part of the profile of Megan.
Now requests a question that I usually get is that if there is
less data exposed on one version or the
other with respect to a single entity,
actually the data is the same.
But, if I go and make the query to beta these exact same query,
you're going to notice that I get
much more information. Why is that?
Well, the reason is because in the production version,
we optimize for bits over the wire.
So we don't necessarily send all of
the information back that is available,
and the best practice is for you to use
select parameters in order to get that data.
So if I type "Select" and then for example postal code,
I'm going to get that information back from the API.
Now this is not part of the default payload if I
don't have this selection parameter in.
The reason why is because again we wanted to optimize and select
only the properties that are part of what you're going to use.
Now, another thing that I'm going
to show you is that here in Graph Explorer,
we have a different set of samples for each of
the services that are participating on the API.
So for an example you see the Users Groups,
Outlook Mail, Calendar, OneDrive,
and all of the different set of services,
and you can turn on and off these capabilities in order to get
more examples for each of the particular services.
For example, if we go to OneDrive we'll be
able to see all of the different set of
requests for the OneDrive endpoint.
I can get query all of
the different files on these particular user's OneDrive.
Graph Explorer is a very interesting tool
that will allow you to interact
with the API and
get access to all of the different set of queries.
So oftentimes, you also want to use
your own application to interact with the data and API,
and in order to do your own testing and development.
So for that, we also have created
a Postman collection that is available in
our GitHub repository that you can download into Postman itself.
Here we provide you with all of the instructions
that you need in order to get this running into Postman.
Now another thing that I'll point you to is our API reference.
Here you will find full documentation of all of
the different APIs for both create,
and update, and delete,
and all of the different set of operations that
we support for each of the APIs.
So for example, if I navigate here at the user,
we will see all of the different methods that are supported,
all of the different set of parameters,
and for each of the operations,
we'll see what are the set of permissions that are
required to interact with each of the APIs.
After you've explored our documentation,
I'll point you to our Getting Started experiences.
We have a full set of Getting
Started experiences in different set of languages.
So for example if you are not ASP.net developer,
you can come here to ASP.net and we
offer a variety of experiences for you.
First one is a Quickstart that in less than three minutes,
you're going to be able to get an app up and running.
The next one is a Fooled training that in
about 30 minutes you're going to be able to get
an application and walk-through step-by-step.
We also have videos that will support your journey.
Finally, we have SDKs that are
available for you to build your applications.
Now I want to show you the last bit of information,
which is joining our developer program.
Our developer program will offer you
an Office 365 tendency that you can
use for your development with 25 users along with data from them.
Thank you for joining me today.
Remember, just typing your browser
graph.Microsoft.com and you'll be able to get
access to all of the information about
Microsoft Graph and what it has to offer for you as a developer.
We have a rest API that enables you access to all
of the information across Microsoft 365 services,
across Office, Windows, and Enterprise Mobility Suite.
We have a set of tooling available for you in
terms of SDKs available in different languages,
and we have a whole bunch of documentation,
Explorer, Postman collections, trainings,
lots of contents that you can be
successful in your development of your applications.
Thank you for joining me today,
and have a happy Microsoft built 2019.