> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joinpeach.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Admin setup

Connect Peach to Microsoft 365 so your team can authenticate with Microsoft, access shared mailboxes, and send emails directly from Peach.

## What you'll accomplish

After completing this guide:

* Peach will appear as an Enterprise Application in Microsoft Entra
* Users will be able to sign in using Microsoft 365
* Shared mailboxes can be connected to Peach
* Your team can send and receive emails from Peach

<Info>
  You must be a Microsoft Entra administrator to complete this setup.
</Info>

## Prerequisites

Before you begin, ensure you have:

* Microsoft Entra admin access
* At least one shared mailbox
* Permission to add Enterprise Applications

***

## Step 1: Grant Admin Consent

Open the following URL while signed in as a Microsoft administrator:

```text theme={null}
https://login.microsoftonline.com/organizations/adminconsent?client_id=45c38646-07a4-4998-b43c-58e1b5c0bcee
```

Microsoft will display the permissions requested by Peach.

Select **Accept**.

<Note>
  This creates the Peach Enterprise Application within your Microsoft tenant.
</Note>

<img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/permissions.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=411bd588cbb7e42a797161b4d93d04b7" alt="Permissions" width="1158" height="1528" data-path="images/permissions.png" />

***

## Step 2: Verify Peach was added

Navigate to:

```text theme={null}
Microsoft Entra → Enterprise Applications
```

Refresh the page.

You should see **Peach** listed among your applications.

<img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/Screenshot-2026-06-09-at-10.10.48-AM.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=4626926b1fbcd0650009c2524d0649b8" alt="Screenshot 2026 06 09 At 10 10 48 AM" width="2328" height="834" data-path="images/Screenshot-2026-06-09-at-10.10.48-AM.png" />

<Check>
  If Peach appears in Enterprise Applications, the consent step was successful.
</Check>

***

## Step 3: Open the Peach application

Select **Peach** from the Enterprise Applications list.

<img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/Screenshot-2026-06-09-at-10.11.10-AM.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=3458e89a3f210f6fedd839bb56e7d9c7" alt="Screenshot 2026 06 09 At 10 11 10 AM" width="2866" height="1590" data-path="images/Screenshot-2026-06-09-at-10.11.10-AM.png" />

***

## Step 4: Assign users and groups

Navigate to:

```text theme={null}
Users and Groups
```

Select **Add User/Group**.

Choose the users or groups that should have access to Peach.

<img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/Screenshot-2026-06-09-at-10.11.32-AM.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=469d5f4ccb3a5882a637ee18dd507dde" alt="Screenshot 2026 06 09 At 10 11 32 AM" width="2866" height="1590" data-path="images/Screenshot-2026-06-09-at-10.11.32-AM.png" />

<Frame>
  <img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/Screenshot-2026-06-09-at-10.11.53-AM.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=367696c918a37269cc5400147d017b7a" alt="Screenshot 2026 06 09 At 10 11 53 AM" width="2866" height="1590" data-path="images/Screenshot-2026-06-09-at-10.11.53-AM.png" />
</Frame>

***

## Step 5: Assign roles

Each user or group must be assigned a role.

<CardGroup cols={2}>
  <Card title="Admin">
    Manage users, integrations, shared inboxes, and platform settings.
  </Card>

  <Card title="Editor">
    Work tickets, generate AI responses, and send emails from connected inboxes.
  </Card>
</CardGroup>

Select the appropriate role before saving the assignment.

<img src="https://mintcdn.com/peach-a7014530/ma2W2kDyS9uSdeK0/images/Screenshot-2026-06-09-at-10.14.48-AM.png?fit=max&auto=format&n=ma2W2kDyS9uSdeK0&q=85&s=b89edc1ddb75c1d23798b63a5117555b" alt="Screenshot 2026 06 09 At 10 14 48 AM" width="2866" height="1780" data-path="images/Screenshot-2026-06-09-at-10.14.48-AM.png" />

<Warning>
  Users who are not assigned to the Peach application will not be able to sign in.
</Warning>

***

## Verify access

Ask an assigned user to:

1. Navigate to `app.joinpeach.co`
2. Select **Sign in with Microsoft 365**
3. Complete authentication

If login succeeds, the Microsoft integration is configured correctly.

<Check>
  Successful login confirms that Peach has been properly configured within your Microsoft tenant.
</Check>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Peach does not appear in Enterprise Applications">
    Verify the admin consent step was completed using a Microsoft Entra administrator account.
  </Accordion>

  <Accordion title="Users cannot sign in">
    Confirm the user or security group has been assigned to the Peach Enterprise Application.
  </Accordion>

  <Accordion title="Shared mailbox does not appear during onboarding">
    Verify the user has access to the shared mailbox in Microsoft 365.
  </Accordion>
</AccordionGroup>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Permissions" icon="shield" href="https://docs.joinpeach.co/permissions">
    Review the permissions Peach requires and why.
  </Card>

  <Card title="Test Email Delivery" icon="send" href="https://docs.joinpeach.co/troubleshooting#test-outbound-email-delivery">
    Verify Peach can successfully send outbound emails.
  </Card>
</CardGroup>
