# Exchange Web Server

## Introduction

This document provides an overview of the integration between Autom Mate and the Exchange Web Server. The Exchange Web Server is an enterprise-level email server and group communication solution by Microsoft, offering features such as email communication, calendar management, contact management, and collaboration tools. This integration allows users to perform various operations within the Exchange Web Server directly through Autom Mate.

## What is Exchange Web Server?

The Exchange Web Server is an essential tool for organizations, providing robust email management, calendar scheduling, contact organization, and collaborative features. It streamlines internal and external communication processes, enhancing productivity and efficiency within organizations.

## How To Use Actions

### Add Mailbox Account

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FDnHJq1osmaiHlw3EKkAq%2Fimage.png?alt=media&#x26;token=ef1ca68d-aabf-4c98-abf4-3d3f7850502c" alt=""><figcaption></figcaption></figure>

**Description:** Adds a new mailbox account to the Exchange Web Server.

**Purpose:** This action creates a new mailbox account with specified details.

**Usage:**

* Enter the Logon Name or Username for the mailbox account (e.g., <test@autommate.com>).
* Provide the Name, Password, Database, First Name, Last Name, Display Name, and Organizational Unit.
* Click to add a new mailbox account.

**Input Fields:**

* Logon Name / Username: <mark style="color:green;">The username or logon name for the mailbox account.</mark>
* Name: <mark style="color:green;">Name of the mailbox account.</mark>
* Password\*: <mark style="color:green;">Password for the mailbox account.</mark>
* Database: <mark style="color:green;">Database associated with the mailbox.</mark>
* First Name: <mark style="color:green;">First name of the user.</mark>
* Last Name: <mark style="color:green;">Last name of the user.</mark>
* Display name: <mark style="color:green;">Display name for the mailbox account.</mark>
* Organizational unit: <mark style="color:green;">Example: autommate.com/Users.</mark>

**Output Fields:**

* None

***

### Add User To Mail Group

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FgC5S188Vawi9YfiXwtF9%2Fimage.png?alt=media&#x26;token=e8a0b131-8318-4003-b6cd-6a2ec2692f6e" alt=""><figcaption></figcaption></figure>

**Description:** Adds a user to a specified mail group within the Exchange Web Server.

**Purpose:** This action assigns a user to a designated mail group.

**Usage:**

* Specify the Group Name and Username of the user to be added.
* Click to add the user to the mail group.

**Input Fields:**

* Group Name: <mark style="color:green;">Name of the mail group.</mark>
* Username: <mark style="color:green;">Username of the user to be added to the mail group.</mark>

**Output Fields:**

* None

***

### Change Mailbox Size

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FrpqnjG9rUdUuc5KakPiJ%2Fimage.png?alt=media&#x26;token=c0ad1d47-9e28-4869-abe0-ab1b8947fd8d" alt=""><figcaption></figcaption></figure>

**Description:** Changes the size limits for a specified mailbox.

**Purpose:** Adjusts the mailbox size quotas for sending and receiving emails.

**Usage:**

* Enter the Username of the mailbox.
* Set the Warning quota, Send quota, and Receive quota for the mailbox.
* Save the changes to update the mailbox size limits.

**Input Fields:**

* Username: <mark style="color:green;">Username of the mailbox.</mark>
* Warning quota: <mark style="color:green;">Example: 100MB, 1GB.</mark>
* Send Quota: <mark style="color:green;">Send quota for the mailbox.</mark>
* Receive quota: <mark style="color:green;">Receive quota for the mailbox.</mark>

**Output Fields:**

* None

***

### Connect

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FGCF6YeYPmo2Nk8m4Xc5d%2Fimage.png?alt=media&#x26;token=8ae26835-d3df-4816-8479-f97a433d0137" alt=""><figcaption></figcaption></figure>

**Description:** Establishes a connection to the Exchange Web Server.

**Purpose:** This action initiates a connection to interact with Exchange services.

**Usage:**

* Provide the Path, Username, and Password for the connection.
* Click to establish a connection to the Exchange server.

**Input Fields:**

* Path: <mark style="color:green;">Example: http\://\<exchange server full fqdn>/PowerShell/.</mark>
* Username: <mark style="color:green;">Username for the connection.</mark>
* Password: <mark style="color:green;">Password for the connection.</mark>

**Output Fields:**

* None

***

### Delete Mailbox

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2Fm3tH1F0ASFnC7ePg83rr%2Fimage.png?alt=media&#x26;token=3091a6e7-8aac-4915-bc6d-490ccf2a1bf8" alt=""><figcaption></figcaption></figure>

**Description:** Deletes a specified mailbox from the Exchange Web Server.

**Purpose:** This action permanently removes a mailbox from the Exchange server.

**Usage:**

* Enter the Username of the mailbox.
* Select the option for Permanent deletion.
* Confirm to delete the specified mailbox.

**Input Fields:**

* Username: <mark style="color:green;">Username of the mailbox.</mark>
* Permanent: <mark style="color:green;">Selectable option for permanent deletion.</mark>

**Output Fields:**

* None

***

### Disable Mailbox

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FldyZ4CceibBX7kowRSei%2Fimage.png?alt=media&#x26;token=4ea30bf6-7b6c-49a8-a255-02faac7cb295" alt=""><figcaption></figcaption></figure>

**Description:** Disables the specified mailbox within the Exchange Web Server.

**Purpose:** This action deactivates a mailbox without permanently removing it.

**Usage:**

* Enter the Username of the mailbox.
* Click to disable the specified mailbox.

**Input Fields:**

* Username: <mark style="color:green;">Username of the mailbox.</mark>

**Output Fields:**

* None

***

### Remove User From Mail Group

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FgVvb2oSm21hi5OFYLjT5%2Fimage.png?alt=media&#x26;token=0d7b0540-81b4-48f1-88fa-87f9b32b0d87" alt=""><figcaption></figcaption></figure>

**Description:** Removes a user from a specified mail group in the Exchange Web Server.

**Purpose:** This action removes a user from the assigned mail group.

**Usage:**

* Specify the Group Name and Username of the user to be removed.
* Click to remove the user from the mail group.

**Input Fields:**

* Group name: <mark style="color:green;">Name of the mail group.</mark>
* Username: <mark style="color:green;">Username of the user to be removed from the mail group.</mark>

**Output Fields:**

* None

***

### Run Script

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FbVgelyoCh8NYkh3Q0Tmi%2Fimage.png?alt=media&#x26;token=61f6a73b-3865-48d2-a527-c17884dc9ebf" alt=""><figcaption></figcaption></figure>

**Description:** Runs a custom script on the Exchange Web Server.

**Purpose:** Executes a custom script for specialized actions or configurations.

**Usage:**

* Enter the Script to be executed.
* Select a variable of type string for the script output.
* Execute the script to perform the desired action.

**Input Fields:**

* Script: <mark style="color:green;">Script to be executed.</mark>
* Output: <mark style="color:green;">Select a variable of type string for the script output.</mark>

**Output Fields:**

* None

These actions facilitate various operations within the Exchange Web Server, allowing for management of mailbox accounts, mail groups, size adjustments, connections, and script executions.

***

## Additional Tips

### [**Use Cases**](https://docs.autommate.com/userguide/use-cases)

### [FAQ](https://docs.autommate.com/userguide/faq)
