Microsoft Graph is the gateway to data and intelligence in Microsoft 365.Use the wealth of data in Microsoft Graph to build apps for organizations and consumers that interact with millions of users.
预置 API
- Get calendarGet the properties and relationships of a calendar object.
- List eventsGet the properties and relationships of a calendar object.
- Create EventCreate an event in the user's default calendar or specified calendar.
- 获取token
对接说明
Azure官网:https://portal.azure.com/#home
API文档:https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
字段说明文档:https://learn.microsoft.com/en-us/graph/api/resources/event?view=graph-rest-1.0
如何对接Microsoft Graph?
1、登陆Azure官网:https://portal.azure.com/#home,登陆后在搜索栏输入“应用注册”后点击进入。

2.找到已注册应用,无应用需先注册(点击新注册填写对应信息即可)。

3.获取client_id与tenant_id。

4.client_secret获取方式,在菜单栏点击“证书和密码”进入详情页面,无密码需创建“新客户端密码”,创建完成后将值复制。

5.guid获取方式,在菜单栏左边点击“所有者”进入详情页面,点击对应的成员名称进入用户详情页后将“对象ID”值复制。


注意:
1.在API权限中开启对应的接口权限。

2.查看对应的接口需要的权限,如需要获取List events接口权限,则在接口文档中查看Permission配置对应Permission type和Permission scope


最后,获取到调用接口所需要的参数信息填入明道云的连接设置中。