Skip to content

leapyear1969/EWS-for-China-Office365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exchange Web Services(EWS)

Some EWS management API samples for China Office 365(21vianet Office 365).

  • Authentication of China Office 365 with Azure AD application authentication.
  • Make EWS calls, like get mailbox folders, get calendar information, get appointments,resources etc.

更多功能,陆续施工中。

使用方法:

授权认证

下载本项目之后,使用Visual Studio打开,打开之后在解决方案管理器中找到App.config配置文件,配置对应的appID,tenantID,clientSecret

image
配置应用信息: a

appID,tenantID,clientSecret的设置参考文档:注册应用

发出EWS请求

在授权成功之后,就通过EWS向Office 365进行数据的请求了,我这边写了3个例子,

  • 获取当前账户的邮箱中的所有文件夹
  • 获取日历信息包括日历ID和时间
  • 获取日历的资源信息 image

更多EWS接口请参考如下: Get started with EWS Managed API

About

Test EWS api for China Office365.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages