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

# How to Deploy Desktop Messenger with SSO

> Deploy Thread Desktop Messenger to Windows clients with Microsoft 365 SSO and auto authentication so users skip sign-in and get instant ticket updates.

## Overview

> [!NOTE]
>
> Note: This is only available for Windows Deployments

If your customers use Microsoft 365, this is our recommended way of deploying Thread.

**Why?** As soon as you deploy the app, your customers won't need to sign in at all to start experiencing the magic and getting updates on their tickets right on their PC. Signing in with SSO streamlines the messenger sign in process and the adoption you will see from your customers will be greatly noticeable!

## How to deploy Desktop Messenger with Microsoft 365 SSO

**1. Open the Clients tab**

Navigate to the Thread Admin Panel and go to the "[clients](https://admin.getthread.com/dashboard/clients/companies)" tab

**2. Select an undeployed company**

Select a company that you have not yet deployed Thread to

**3. Choose Windows in App Deployment**

In the "App Deployment" Tab, select "Windows" and click continue

![Selecting Windows in the App Deployment tab](https://mintcdn.com/thread/ysyi1-ysJ96KyxOf/images/829cc1f3-image.png?fit=max\&auto=format\&n=ysyi1-ysJ96KyxOf\&q=85\&s=38b02850ee703b71d7f3cd9477da606c)

**4. Toggle on Auto Authentication**

Toggle on "Auto Authentication"

![Auto Authentication toggle enabled](https://mintcdn.com/thread/ysyi1-ysJ96KyxOf/images/9992ee06-image.png?fit=max\&auto=format\&n=ysyi1-ysJ96KyxOf\&q=85\&s=33c5a904c5233d9b453b2765f8d7b420)

**5. Open the link in an incognito tab**

Then, open an incognito or private tab and paste the link provided.

**6. Sign in to Microsoft and get the install script**

You will then be prompted to log in to Microsoft. Once logged in, approve any permissions you are asked for, and you will see this screen and be given a silent install script to install messenger.

![Silent install script shown after Microsoft sign-in](https://mintcdn.com/thread/yMrisProrR453qj0/images/4d872f0d-image.png?fit=max\&auto=format\&n=yMrisProrR453qj0\&q=85\&s=bbb56a800980cd72fdef10040fece825)

**7. Deploy with the per-client script**

This script is a PER CLIENT script and can only be used for the specific client you are deploying to. What makes it unique is the AppID, which is specific to each client. The script below can have the "YOUR\_APP\_ID\_HERE" replaced with any client's AppID to deploy.

```
msiexec /i "https://assets.getthread.com/messenger/downloads/desktop/messenger.msi" APP_ID=YOUR_APP_ID_HERE FLOW=customer INSTALL_TYPE=user /qn
```

**8. Locate the client in the admin panel**

To find a client's AppID, go to the [client's tab](https://admin.getthread.com/dashboard/clients/companies) in the admin panel, and click on a client that you wish to find the AppID of

**9. Find the AppID on the Installation tab**

Then, click the "Installation" tab for that client, and the AppID for that client will be there.

![AppID shown on the client's Installation tab](https://mintcdn.com/thread/2AdmqP0mlnyoZLRc/images/ff42b2bf-image.png?fit=max\&auto=format\&n=2AdmqP0mlnyoZLRc\&q=85\&s=2094c769374b74bfdc1be1ea53589b55)

And that's it! Now your customers can use Desktop Messenger with SSO


## Related topics

- [How Notifications Work for your Customers](https://docs.getthread.com/notifications/how-notifications-work-externally.md)
- [Deploying Messenger to Mac](https://docs.getthread.com/messenger/deploying-messenger-to-mac.md)
- [Deploy Messenger on Windows via command line](https://docs.getthread.com/messenger/deploying-messenger-on-windows.md)
