使用 EWS API 创建新的 user/reset 密码
Create new user/reset passwords using EWS API
我很确定我知道这个问题的答案,但我正在寻找验证。一些背景:
我的工作使用 Exchange 服务器 运行 2010 SP2
它由供应商场外托管
它与我们的活动目录无关,我无法访问他们的
我拥有通过 OWA 门户网站进行更改的管理员凭据
到目前为止,使用 EWS,我已经能够执行诸如搜索用户之类的操作,但无法更改任何内容。我希望能够更改密码和创建新帐户。我知道如果我 a) 可以访问供应商的活动目录或 b) 可以远程执行 powershell...但我两者都没有。
我也找到了这个,但它让我无处可去。使用管理员 OWA 管理员用户名和密码登录 https://server/EWS/exchange.asmx
将我带到 https://server/ews/Services.wsdl
我看到了这个但我找不到任何有价值的东西:
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="UploadItemsSoapIn">
<wsdl:part name="request" element="tns:UploadItems"/>
<wsdl:part name="Impersonation" element="t:ExchangeImpersonation"/>
<wsdl:part name="MailboxCulture" element="t:MailboxCulture"/>
<wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>
</wsdl:message>
...
鉴于这种情况,是否可以在不使用 OWA 的情况下创建新帐户或更改用户密码?
EWS 是一个邮箱访问 API 除了让密码过期之外,无法执行任何管理操作 (CRUD) 或管理用户密码(OWA 利用 IIS 功能来执行此操作)。
要在 Exchange 2010 中创建邮箱,您需要通过远程 Powershell 访问 Exchange 管理控制台、Exchange 管理 Shell,或者您至少应该能够使用 ECP,例如 http://plexhosted.com/billing/knowledgebase/193/How-to-create-a-user-in-the-Exchange-Control-Panel-Exchange-2010.html。
干杯
格伦
我很确定我知道这个问题的答案,但我正在寻找验证。一些背景:
我的工作使用 Exchange 服务器 运行 2010 SP2
它由供应商场外托管
它与我们的活动目录无关,我无法访问他们的
我拥有通过 OWA 门户网站进行更改的管理员凭据
到目前为止,使用 EWS,我已经能够执行诸如搜索用户之类的操作,但无法更改任何内容。我希望能够更改密码和创建新帐户。我知道如果我 a) 可以访问供应商的活动目录或 b) 可以远程执行 powershell...但我两者都没有。
我也找到了这个,但它让我无处可去。使用管理员 OWA 管理员用户名和密码登录 https://server/EWS/exchange.asmx
将我带到 https://server/ews/Services.wsdl
我看到了这个但我找不到任何有价值的东西:
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="UploadItemsSoapIn">
<wsdl:part name="request" element="tns:UploadItems"/>
<wsdl:part name="Impersonation" element="t:ExchangeImpersonation"/>
<wsdl:part name="MailboxCulture" element="t:MailboxCulture"/>
<wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>
</wsdl:message>
...
鉴于这种情况,是否可以在不使用 OWA 的情况下创建新帐户或更改用户密码?
EWS 是一个邮箱访问 API 除了让密码过期之外,无法执行任何管理操作 (CRUD) 或管理用户密码(OWA 利用 IIS 功能来执行此操作)。
要在 Exchange 2010 中创建邮箱,您需要通过远程 Powershell 访问 Exchange 管理控制台、Exchange 管理 Shell,或者您至少应该能够使用 ECP,例如 http://plexhosted.com/billing/knowledgebase/193/How-to-create-a-user-in-the-Exchange-Control-Panel-Exchange-2010.html。
干杯 格伦