> For the complete documentation index, see [llms.txt](https://docs.teleskope.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.teleskope.ai/setup/sso/microsoft-entra.md).

# Microsoft Entra

To rely on Entra for SSO, you need to register an application in your tenant and provide Teleskope a **Client Id**, **Client Secret,** and your **Tenant ID.**

## Setup

1. Navigate to <https://entra.microsoft.com/> and sign into your enterprise's Microsoft dashboard
2. Select **Overview** from the sidebar.
   1. Collect your **Tenant** **ID:** `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`
3. On your side bar, select **Applications,** then **App registrations**
4. Select **New registration**, and name your Teleskope SSO app.
   1. There will be a few authentication options, we recommend `Accounts in this organizational directory only (Single tenant)` as the simplest option
5. On your side bar, select **Applications,** **App registrations,** then select your newly created app.
   1. Collect your `Application (client) ID`
6. In your app's registration page, under **Certificates & Secrets**, select **New client secret.** Set a name and expiry
   1. Collect the resulting value as your `client_secret` .
7. In your app's registration page, select **API Permissions** and click **Add a Permission**.
   1. Set up `delegated` permissions for Microsoft Graph, `admin consent` not required. You will need the `email`, `openid` and `profile` permissions set.
   2. **Note:** if your tenant disables user consent for apps, you will need to grant `admin consent`.
8. In your app's registration page, select **Authentication,** **+ Add a Platform, Web,** then enter your Redirect URI:
   1. Example: **<https://api.mission-control.\\><DOMAIN>/auth/microsoft/callback**
   2. **\<DOMAIN>** is typically **CompanyName.teleskope.ai**

## Provisioning

1. Assign users to your new Teleskope Entra app.
2. A first/last name in Entra is required for any user logging into Teleskope.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.teleskope.ai/setup/sso/microsoft-entra.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
