简体   繁体   English

Office 365 Outlook API(Exchange管理中心)

[英]Office 365 Outlook API (Exchange Admin Center)

I've been looking around for some documentation on how (if) I can interact with the Exchange Admin Center in our Office 365 tenant. 我一直在寻找有关如何与Office 365租户中的Exchange管理中心进行交互的文档。

Specifically, I'm just looking to get a list of users from Exchange Admin Center > Protection > Action Center (users currently blocked from sending due to spam) via C# 具体来说,我只是想通过C#从Exchange管理中心>保护>操作中心(当前由于垃圾邮件而被阻止发送的用户)获取用户列表

Also remove an email address from that same list as well. 还要从同一列表中删除电子邮件地址。

I've seen various sites, including microsoft's, that mention a REST API for a variety of purposes with Office 365 - but nothing that I'm quite looking for. 我见过很多站点,包括微软的站点,都提到了用于Office 365的多种用途的REST API-但我没有想要的东西。

I can see Fiddler, for example, using outlook.office365.com/ecp/DDI.... as I'm manually interacting with the Exchange Admin Center > Protection > Action Center 例如,当我与Exchange管理中心>保护>操作中心进行手动交互时,我可以使用Outlook.office365.com/ecp/DDI ....查看Fiddler。

Am I just missing where this information is? 我只是想念这些信息在哪里?

There are a number of API's available for Exchange, but the public of them are for interfacing as a client. 有许多可用于Exchange的API,但它们的公开是作为客户端接口。 For managing the Exchange Server itself, your best bet would be the Exchange Management Shell . 为了管理Exchange Server本身,最好的选择是Exchange命令行管理程序 This is a PowerShell tool set for Exchange. 这是用于Exchange的PowerShell工具集。 You can call into these from C#, see Executing PowerShell scripts from C# for details. 您可以从C#调用这些脚本,有关详细信息,请参阅从C# 执行PowerShell脚本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM