Exchange connector 3.0 Configuration

Source: Internet
Author: User

Exchange connectoer is a plug-in-like function in system center service manager. You need to install the corresponding MP management package. Using exchange connetor, we can enable SCSM to automatically generate an incident event based on the mail title and content after a user sends an email to a specified mailbox, at the same time, the user can automatically approve or reject the approval process in the corresponding SCSM After replying a specific keyword to a specific mailbox.

First, let's take a look at the effect:


1. the user sent an email to [email protected] to describe a problem.

650) This. width = 650; "Title =" 860.jpg" alt = "wkiol1pnvxuys7xmaaniv1yqdgm738.jpg" src = "http://s3.51cto.com/wyfs02/M01/40/00/wKioL1PNvxuyS7xmAANiv1yQDGM738.jpg"/>

2. SCSM automatically generates an incident event and sends an email notification to the user.

PS: This pirority priority is a bit difficult for me to grasp variables, so it is empty and has not been adjusted yet.

650) This. width = 650; "Title =" 861.jpg" alt = "wKioL1PNv9-D_2M-AAQ8bP52OBU527.jpg" src = "http://s3.51cto.com/wyfs02/M02/40/00/wKioL1PNv9-D_2M-AAQ8bP52OBU527.jpg"/>

650) This. width = 650; "Title =" 862.jpg" alt = "wkiol1pnwgjsjeb_aaq3n70ky5i496.jpg" src = "http://s3.51cto.com/wyfs02/M00/40/00/wKioL1PNwGjSJeB_AAQ3N70KY5I496.jpg"/>

The effect is so simple. To put it bluntly, SCSM can interact with each other via email. Next, we will explain the detailed configuration method.


Install exchange connetor

1. Install the Exchange Web Services API. You can use the following link:
Http://www.microsoft.com/en-us/download/details.aspx? Id = 30141

2. Install exchange connetor 3.0. You can use the following link:

Http://www.microsoft.com/en-us/download/details.aspx? Id = 38791

3. Find the file after installation:"Microsoft. Exchange. WebServices. dll"Location is:C: \ Program Files \ Microsoft \ exchange \ Web Services \ 1.2 copy the file to C: \ Program Files \ Microsoft System Center 2012 \ service manager on the SCSM server.

4. In the folder where the exchange connector has been installed:Microsoft. systemcenter. exchangeconnector. dllAnd Microsoft. systemcenter. exchangeconnector. Resources. dllCopy to the SCSM server: C: \ Program Files \ Microsoft System Center 2012 \ Service Manager.

Import the MP package in the exchange connector 3.0 folder (including the following two content ):

Service Manager exchange connector ver 3.0.0.0

Sendmail ver 2.0.0.0

650) This. width = 650; "Title =" 863.jpg" alt = "wkiom1pnwjer2jecaadusatndba988.jpg" src = "http://s3.51cto.com/wyfs02/M02/40/00/wKiom1PNwjeR2jecAADUsATNDbA988.jpg"/>


Configure the email address of the incoming mail

1. Create a new mailbox. [email protected] is used here.

2. Grant the SCSM workflow account the access permission to this mailbox.

New-managementroleassignment-Name: adminimpersonateall-Role: applicationimpersonation-user scsmworkflow


Create an exchange connetor:


1 input name:

650) This. width = 650; "Title =" 864.jpg" alt = "wkiol1pnxihbk_viaaiz76k4zb4335.jpg" src = "http://s3.51cto.com/wyfs02/M02/40/01/wKioL1PNxIHBK_ViAAIz76k4zb4335.jpg"/>

The options mean:

1. Use each email as an attachment to the work item

2. Only emails sent from users in CMDB are processed.

3. After the email is processed, move the email to the deleted project.

4. process the content of all emails (up to 4000 characters)

5. Enable this connector


Configure the server connection:

This is the most troublesome and error-prone:

650) This. width = 650; "Title =" 865.jpg" alt = "wKiom1PNxB-RHqQQAAHqcTn-SQA253.jpg" src = "http://s3.51cto.com/wyfs02/M00/40/00/wKiom1PNxB-RHqQQAAHqcTn-SQA253.jpg"/>

Based on my configuration experience, pay attention to the following issues:

1. The exchange Web Service API must use the version in the above link, that is, 1.2.1. Otherwise, a problem occurs. PS: My exchange is 2013

2 if there is no problem with your exchange autodiscover configuration, check it directly, if not, you need to manually enter a link like: https://mail.contoso.com/EWS/Exchange.asmx

3. if you select use impersonation, you must configure powershell to grant permissions to the SCSM workflow account.

4. If your run as account is not a work flow account, modify the user in powershell above.

5. In case of permission issues, try to put the work flow account into the local administrator group of the scsm Administrator group.

6. Try to run the SCSM console as an administrator. (If this problem occurs, you can configure it as an administrator)

7. If there is a problem with access to the EWS link of exchange, try to modify the following content in registration:

Create a key value: System Center Service Manager exchange Connector

The location is in HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft

Create: string value:

Value:Exchangeurl-(for exampleHttps://mail.contoso.com/EWS/Exchange.asmx)

Value:Enableewstracing-1(It is not necessary to enable logs to facilitate troubleshooting of other problems)

Value:Logginglevel-7(It is not necessary to enable logs to facilitate troubleshooting of other problems)

8. The work flow account needs an email address.


Keyword settings:

650) This. width = 650; "Title =" 866.jpg" alt = "wkiol1pnx9jblj3uaajdjdjeezg071.jpg" src = "http://s3.51cto.com/wyfs02/M01/40/01/wKioL1PNx9jBLJ3UAAJdJDJEezg071.jpg"/>

This means to let SCSM determine what the incoming mail is for, for example, [resolved] means, when the excahnge tor reads the keyword [resolved] in the subject of the email (note that brackets must be included to prevent unexpected and keyword-like content ), mark the event of the ID number in the mail title as resolved.


Configuration template:

Here we mainly select the template entry to be generated when SCSM generates entries Based on the email.

Another 300 second option is to set the length of time for the exchange connector to capture a number in the mailbox. Therefore, Microsoft does not recommend that you set the data in the production environment to less than 2 minutes.

650) This. width = 650; "Title =" 867.jpg" alt = "wkiol1pnyi3ix0p6aaifruvyymc935.jpg" src = "http://s3.51cto.com/wyfs02/M00/40/01/wKioL1PNyI3ix0p6AAIfRUVYymc935.jpg"/>

So far, the exchange tor Tor is successfully configured.

This article is from the "absolute field" blog, please be sure to keep this source http://mingwang.blog.51cto.com/1997299/1441198

Exchange connector 3.0 Configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.