# Suggested Microsoft 365 settings

Source: https://developer.nylas.com/docs/provider-guides/microsoft/microsoft-365-settings/

> **Info:** 
> **As of January 2023, Microsoft has renamed "Office 365" to "Microsoft 365"**. For more information, see [Microsoft's official FAQs](https://www.microsoft.com/en-us/microsoft-365/business/microsoft-365-frequently-asked-questions).

This page outlines the Microsoft 365 settings Nylas recommends to ensure the best compatibility between the two platforms.

## Before you begin

Before you start, you must have a Microsoft 365 organization. Log in to [Microsoft Office](https://office.com) and select **Admin** in the left navigation.

## Calendar sharing settings

Nylas recommends your organization's default sharing policy is set to allow individual calendar sharing.

1. From the Microsoft 365 admin center home page, select **Settings > Org settings** in the left navigation.
2. Select **Calendar** from the list of services.
3. Enable **Let your users share their calendars with people outside of your organization who have Office 365 or Exchange**.
4. **Save** your changes.

![The Microsoft 365 Admin interface showing the "Calendar" settings panel. A list of calendar sharing options is displayed.](/_images/microsoft/microsoft-365/sharing-settings.png "Microsoft 365 calendar sharing settings")

## Enable malware filter

Nylas recommends you enable the Microsoft malware filter for messages.

1. From the Microsoft 365 admin center home page, select **Settings > Org settings** in the left navigation.
2. Select **Mail** from the list of services.
3. Click **Anti-malware policies**.
4. Verify that the **Malware detection response** is set to **Delete all attachments**.
5. Verify that **Sender notifications** are enabled for both internal and external senders.
6. **Save** your changes.

![The Microsoft Exchange admin interface showing the "Malware filter" page. A list of malware filters is displayed. The "Default" filter is selected, and its details are shown in a panel at the right of the screen.](/_images/microsoft/office-365/malware-filter-settings.png "Malware filter settings")

## Enable connection filter

Nylas recommends you use the default connection filter settings for all messages.

1. From the Microsoft 365 admin center home page, select **Settings > Org settings** in the left navigation.
2. Select **Mail** from the list of services.
3. Click **Connection filter policies**.
4. Verify that you're using the default settings from Microsoft.

![The Microsoft Exchange admin interface showing the "Connection filter" page. A list of connection filters is displayed. The "Default" filter is selected, and its details are shown in a panel at the right of the screen.](/_images/microsoft/office-365/connection-filter-settings.png "Connection filter settings")

## Set mobile device access rules

Nylas recommends you update the mobile device access rules to allow iPhones and Nylas support devices (devices with the `python-EAS-Client 1.0` user agent).

1. From the Microsoft Exchange admin center home page, select **Mobile** in the left navigation.
2. Under **Quarantined devices**, verify that the user agent `python-EAS-Client 1.0` is not listed. This is the dummy mobile device Nylas uses to connect.
3. Under **Device access rules**, verify that all iPhone devices are allowed.

![The Microsoft Exchange admin interface showing the "Mobile device access" page. A list of quarantined devices and a list of device access rules is displayed.](/_images/microsoft/office-365/mobile-device-access-settings.png "Mobile device access settings")

## Set mobile device mailbox policies

Nylas recommends you use the default mobile device mailbox policies.

1. From the Microsoft Exchange admin center home page, select **Mobile** in the left navigation.
2. Verify that you're using the default settings from Microsoft.