> ## Documentation Index
> Fetch the complete documentation index at: https://helpdocs.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.

<Note>
  Note: This is only available for Windows Deployments
</Note>

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

<Steps>
  <Step title="Open the Clients tab">
    Navigate to the Thread Admin Panel and go to the "[clients](https://admin.getthread.com/dashboard/clients/companies)" tab
  </Step>

  <Step title="Select an undeployed company">
    Select a company that you have not yet deployed Thread to
  </Step>

  <Step title="Choose Windows in App Deployment">
    In the "App Deployment" Tab, select "Windows" and click continue

    <Frame>
      <img src="https://mintcdn.com/thread/XL4w2StwzALuT8Pw/images/829cc1f3-image.png?fit=max&auto=format&n=XL4w2StwzALuT8Pw&q=85&s=5e724e6affdb942ea93875c232728774" alt="Selecting Windows in the App Deployment tab" width="2758" height="1320" data-path="images/829cc1f3-image.png" />
    </Frame>
  </Step>

  <Step title="Toggle on Auto Authentication">
    Toggle on "Auto Authentication"

    <Frame>
      <img src="https://mintcdn.com/thread/XL4w2StwzALuT8Pw/images/9992ee06-image.png?fit=max&auto=format&n=XL4w2StwzALuT8Pw&q=85&s=e383c071abc7874d509ad823579f8bef" alt="Auto Authentication toggle enabled" width="2696" height="1293" data-path="images/9992ee06-image.png" />
    </Frame>
  </Step>

  <Step title="Open the link in an incognito tab">
    Then, open an incognito or private tab and past the link provided.
  </Step>

  <Step title="Sign in to Microsoft and get the install script">
    You will then be prompted to login 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.

    <Frame>
      <img src="https://mintcdn.com/thread/juCyEL4f0qmxDa7M/images/4d872f0d-image.png?fit=max&auto=format&n=juCyEL4f0qmxDa7M&q=85&s=10d2ab3e98b8ee3079b864577000c9c5" alt="Silent install script shown after Microsoft sign-in" width="831" height="696" data-path="images/4d872f0d-image.png" />
    </Frame>
  </Step>

  <Step title="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
    ```
  </Step>

  <Step title="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
  </Step>

  <Step title="Find the AppID on the Installation tab">
    Then, click the "Installation" tab for that client, and the AppID for that client will be there.

    <Frame>
      <img src="https://mintcdn.com/thread/n2sDrpYkYqXvmtpd/images/ff42b2bf-image.png?fit=max&auto=format&n=n2sDrpYkYqXvmtpd&q=85&s=ee20dd63c6493f5e8f96f6eb53b8b2b4" alt="AppID shown on the client's Installation tab" width="1680" height="997" data-path="images/ff42b2bf-image.png" />
    </Frame>
  </Step>
</Steps>

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


## Related topics

- [How Notifications Work for your Customers](/notifications/how-notifications-work-externally.md)
- [Deploying Messenger to Mac](/messenger/deploying-messenger-to-mac.md)
- [Kiosk Mode](/messenger/kiosk-mode.md)
