Microsoft Exchange Application Setup and Administration

Author

Reads 616

Close-up of two people exchanging US dollars and currency with wallets on a table.
Credit: pexels.com, Close-up of two people exchanging US dollars and currency with wallets on a table.

Setting up and administering Microsoft Exchange is a crucial part of getting your email and calendar systems up and running. To start, you'll need to install the Microsoft Exchange Server software on your server.

The installation process typically takes about 30 minutes to an hour, depending on your server's configuration and internet connection speed. Once installed, you'll need to configure the server settings, including setting up the domain name and mailboxes.

You'll also need to configure the Exchange server to integrate with your existing Active Directory. This will allow users to log in to their mailboxes with their existing Active Directory credentials.

Take a look at this: Ms Outlook Server

Setting Up Microsoft Exchange

Setting up Microsoft Exchange can be a straightforward process. If you're part of an organization, your IT admin will typically set up an Exchange Online account for you.

You'll need to have a subscription to Microsoft 365 that includes Exchange Online. Alternatively, you can purchase Exchange Online as a standalone service.

Credit: youtube.com, Microsoft Exchange Online for Beginners!

Your IT admin will usually take care of the setup process if you're part of an organization. This way, you can focus on using the application without worrying about the technical details.

To get started with Exchange Online, you'll need to purchase a subscription to Microsoft 365 that includes this service.

Architecture and Components

In a Microsoft Exchange application, the architecture and components play a crucial role in its functionality.

Client Access Servers are only visible in the Exchange on-premises architecture and are a load-balanced group of servers that authenticate requests and proxy received requests to the Mailbox server.

Individual Client Access Servers are thin and stateless, meaning they cannot store or queue data or do any data rendering, requiring a CAS server and load balancer to perform these activities.

Web Services Architecture

The EWS architecture is designed to work with both on-premises and online versions of Microsoft Exchange. It's a key part of the EWS architecture.

Computer server in data center room
Credit: pexels.com, Computer server in data center room

The architecture includes several important elements, such as the Client Access Server (CAS) and the load balancer. These components are only visible in the Exchange on-premises architecture.

The CAS is a load-balanced group of servers that authenticate requests, perform Exchange Autodiscover lookups, and proxy received requests to the Mailbox server. They're thin and stateless, meaning they can't store or queue data or do any data rendering.

In the EWS architecture, the load balancer distributes the SOAP/XML message to a CAS in the CAS array. This helps to ensure that the system is scalable and can handle a large number of requests.

The EWS service is described by three files and EWS Managed API assemblies (EWS on-premises architecture only). Each file has its own function, including describing the contract between the client and server, defining the request and response SOAP messages, and defining the elements used in the SOAP messages.

The API assemblies are provided for server-side EWS client applications and are deployed on all Exchange Server roles. The EWS schemas are backward- and forward-compatible, so an application that targets an earlier schema version will also work with a later schema version.

Here's a quick rundown of the key components in the EWS architecture:

  • CAS: Client Access Server, responsible for authenticating requests and proxying requests to the Mailbox server
  • Load balancer: distributes SOAP/XML messages to a CAS in the CAS array
  • EWS service: described by three files and EWS Managed API assemblies

Ews Service

Credit: youtube.com, Exchange Server Architecture | What is new in Exchange 2019 | Key Components and Design Principles

The EWS service is described by three files and EWS Managed API assemblies. These files are not used for schema validation, but the EWS schemas are backward- and forward-compatible, so an application that targets an earlier schema version will also work with a later schema version.

The three files are responsible for describing the contract between the client and server, defining the request and response SOAP messages, and defining the elements used in the SOAP messages.

The EWS Managed API assemblies are provided for server-side EWS client applications and deployed on all Exchange Server roles.

Additional reading: Onedrive Version History

Server vs Cloud Server

The primary difference between a server and a cloud server lies in their deployment models. Exchange Server, for instance, is an on-premises solution that organizations install and manage within their own IT infrastructure.

Exchange Server offers full control over the email environment, including the Windows server hardware, software, and data storage. This level of control requires significant upfront investment and ongoing maintenance.

Readers also liked: Telephony Application Server

Credit: youtube.com, What is a server? Types of Servers? Virtual server vs Physical server 🖥️🌐

Exchange Online, on the other hand, is hosted on Microsoft's cloud servers and is managed remotely through a web-based admin interface. Microsoft is responsible for the upkeep, security, and reliability of the service.

A significant upfront investment is needed for Exchange Server, whereas Exchange Online operates on a subscription model. This means organizations can save on initial costs and focus on other aspects of their business.

Continuous updates and integrations with other cloud services within the Microsoft ecosystem are also a benefit of Exchange Online. This ensures the service stays up-to-date and secure without requiring manual updates.

Additional reading: Microsoft Messenger Service

Staying Secure and Compliant

Exchange Online has built-in security features like anti-malware and anti-spam filtering to protect your organization from malicious software and unwanted emails.

Data loss prevention capabilities are also available, allowing you to customize security policies to meet your organization's specific needs.

Litigation Hold preserves email records for litigation and investigation purposes, giving you peace of mind and compliance with regulatory requirements.

Exchange Online uses TLS encryption to secure email connections, ensuring that any data sent is protected.

It adheres to global compliance standards like GPDR, which is crucial for businesses handling sensitive data.

Secure by default settings reduce the risk of configuration errors leading to security vulnerabilities.

For your interest: Is Microsoft Azure Secure

Administering and Managing

Credit: youtube.com, How to administer Microsoft Exchange Server 2019 in 20 Minutes

You can use the Outlook interface to manage your emails, organize your calendar, and keep track of your contacts and tasks. This makes it easy to stay on top of your work and collaborate with colleagues.

To manage the organization's Exchange Online service, admins will use the Exchange admin center (EAC). This is a powerful tool that allows you to manage everything from basic email and user management to more complex tasks.

Microsoft provides extensive documentation and support for Exchange Online users and admins. This includes help articles, training materials, and support services to ensure you can effectively manage Exchange Online.

Set Up Autodiscover URL Redirection Validation

To trust and follow Autodiscover redirects, you need to set up URL redirection validation. This is achieved by adding a redirection validation callback method to your code.

The validation callback method is used to validate whether redirected URLs returned by Autodiscover represent an HTTPS endpoint. In a simple validation callback, the redirection URL is considered valid if it's using HTTPS to encrypt authentication credentials.

Credit: youtube.com, Autodiscover Simplified: A Complete Guide to Autodiscover in Exchange On-Premise, Office 365, Hybrid

You can add the following redirection validation callback method to your code:

```html

  • Add the following redirection validation callback method after the Main(string[] args) method.
  • private static bool RedirectionUrlValidationCallback(string redirectionUrl)
  • { // The default for the validation callback is to reject the URL.
  • bool result = false;
  • Uri redirectionUri = new Uri(redirectionUrl);
  • // Validate the contents of the redirection URL.
  • // In this simple validation callback, the redirection URL is considered valid if it is using HTTPS
  • // to encrypt the authentication credentials.
  • if (redirectionUri.Scheme == "https")
  • { result = true; }
  • return result;

```

This validation callback will be passed to the ExchangeService object in step 4 of the Autodiscover process. This ensures that your application trusts and follows Autodiscover redirects, which provides the EWS endpoint for your application.

In an Exchange on-premises architecture, Autodiscover redirects are handled by a Client Access Server (CAS). A CAS is a load-balanced group of servers that authenticate requests, perform Exchange Autodiscover lookups, and proxy received requests to the Mailbox server.

Administering

As an admin, you'll use the Exchange admin center (EAC) to manage the organization's Exchange Online service.

The EAC is a web-based interface that allows you to perform administrative tasks, such as setting up new users, configuring mail flow, and managing security settings.

You can also use the Microsoft 365 admin center for simpler tasks, such as basic email and user management.

This makes it easier to manage your organization's email and calendar services without having to navigate multiple interfaces.

Person using a laptop to read an email indoors beside a potted plant.
Credit: pexels.com, Person using a laptop to read an email indoors beside a potted plant.

To access the EAC, you'll need to sign in with your organizational credentials, just like you would to access your email.

If you're managing Exchange Online yourself, you'll need to purchase a subscription to Microsoft 365 that includes Exchange Online, or get it as a standalone service.

As an admin, it's essential to have a good understanding of the Exchange Online service and its features, so you can effectively manage and troubleshoot issues.

By using the EAC and Microsoft 365 admin center, you'll be able to efficiently manage your organization's email and calendar services, and ensure that everything runs smoothly.

Recommended read: Microsoft Azure Admin

Choosing the Right Plan

If you're a small to medium-sized business, Exchange Online Plan 1 is a great choice, offering a reliable email service with a 50 GB mailbox size.

Plan 1 is ideal for basic needs, but if you require more advanced features, consider Plan 2, which offers a 100 GB mailbox size.

To help you decide, here's a comparison of the two plans:

Ultimately, choose the plan that fits your business requirements, whether it's a standalone Exchange Online account or an Office 365 plan with Exchange Online included.

See what others are reading: Onedrive for Business Plan 2

Features by Plan

Free stock photo of architect, architectural model, architectural plans
Credit: pexels.com, Free stock photo of architect, architectural model, architectural plans

When choosing between Exchange Online plans, it's essential to consider the features that matter most to your business.

Plan 1 is ideal for small to medium-sized businesses that require reliable email services without the need for advanced features.

The key difference between Plan 1 and Plan 2 lies in their mailbox sizes. Plan 1 offers 50 GB of storage, while Plan 2 provides a generous 100 GB.

Both plans offer web-based access through Outlook on the web, so you can stay connected from anywhere. Focused inbox and in-place archive are also available in both plans.

However, if you need data loss prevention, unlimited archiving, or cloud voicemail, Plan 2 is the better choice. These advanced features come at a higher cost, but they're essential for larger organizations or those with specific compliance and archiving needs.

Here's a summary of the key features by plan:

This comparison should help you make an informed decision about which plan is right for your business.

Do I Need Office 365?

Credit: youtube.com, Microsoft 365 Copilot Licensing Explained: Choose the Right Plan for Your Business in 2025

If you're considering Office 365, it's essential to think about what you need from a productivity suite.

You don't necessarily need Office 365 if you only need email service, as Exchange Online can be purchased as a standalone product.

However, if you require a comprehensive suite of productivity tools, including Word, Excel, and PowerPoint, an Office 365 plan might be the better choice.

Exchange Online is included in many Office 365 plans, providing a cloud-based email service that integrates with other Office 365 services.

It's all about what best fits your business requirements.

See what others are reading: Azure Ad and Office 365

Development and Integration

To develop applications for Microsoft Exchange, you can use the Exchange Web Services (EWS) in a couple of different ways. The simplest way is to create text files containing your XML requests and transmit them to Exchange.

You'll need a simple text editor, like Notepad, to edit your XML request, and a tool or application that can send and receive SOAP XML requests and responses. A basic understanding of XML formatting is also helpful.

A fresh viewpoint: Microsoft Xml Core Services

Credit: youtube.com, Master Microsoft Exchange online in Just 30mins (June 23)

If you prefer to use a .NET language like C#, you can create an autogenerated proxy to work with the operations. This requires Visual Studio 2005 or later and the .NET Framework 2.0 or later.

Here are the tools and technologies you'll need to get started with EWS:

  • A simple text editor, like Notepad
  • A tool or application that can send and receive SOAP XML requests and responses
  • Visual Studio 2005 or later
  • The .NET Framework 2.0 or later

If you're a .NET Framework developer, we encourage you to use the EWS Managed API, which is easier to use than autogenerated proxy object models. It also implements Autodiscover and includes client-side logic.

Create First Managed API App

To create your first EWS Managed API application, you'll need to set up an Office 365 Developer Site. This will save you time in the long run.

The steps to create your first application assume you've already set up your Office 365 Developer Site. If you've downloaded and installed Exchange, be aware that you'll need to install a valid certificate on your Exchange server.

You'll also need to implement a certificate validation callback for a self-signed certificate that's provided by default. This is a crucial step to ensure your application runs smoothly.

You might like: Is Onedrive Necessary

Professional woman in business attire using a laptop and smartphone at a desk.
Credit: pexels.com, Professional woman in business attire using a laptop and smartphone at a desk.

The version of Visual Studio you're using might affect the steps slightly, so keep that in mind as you proceed. Don't worry, it's not a major hurdle.

To get started, add your code to the Program.cs file. This is where you'll develop the basic code to write most EWS Managed API client applications.

EWS Development Environment

To set up a development environment for EWS, you'll need a few things. You can start by creating text files that contain your XML requests and transmitting them to Exchange. To do this, you'll need a simple text editor, like Notepad, to edit your XML request.

You'll also need a tool or application that can send and receive SOAP XML requests and responses, in order to communicate with Exchange. Having a basic understanding of XML formatting can be helpful as well.

Alternatively, you can create an autogenerated proxy that enables you to work with the operations by using a .NET language like C#. To do this, you'll need a version of Visual Studio starting with Visual Studio 2005, and a version of the .NET Framework starting with the .NET Framework 2.0.

Close Up Photo of Cables Plugged into the Server
Credit: pexels.com, Close Up Photo of Cables Plugged into the Server

If you're a .NET Framework developer, you're encouraged to use the EWS Managed API rather than autogenerated proxies to develop against EWS. The EWS Managed API object model is easier to use than autogenerated proxy object models, and it implements Autodiscover and includes client-side logic.

Here are the requirements for setting up a development environment for EWS:

  • A simple text editor, like Notepad, to edit your XML request
  • A tool or application that can send and receive SOAP XML requests and responses
  • A version of Visual Studio starting with Visual Studio 2005
  • A version of the .NET Framework starting with the .NET Framework 2.0
  • Basic understanding of XML formatting

You can choose the method that works best for you, and get started with developing your EWS application.

Patricia Dach

Junior Copy Editor

Patricia Dach is a meticulous and detail-oriented Copy Editor with a passion for refining written content. With a keen eye for grammar and syntax, she ensures that articles are polished and error-free. Her expertise spans a range of topics, from technology to lifestyle, and she is well-versed in various style guides.

Love What You Read? Stay Updated!

Join our community for insights, tips, and more.