# Microsoft Entra ID

Microsoft Entra ID is an integrated cloud identity and access solution, and a leader in the market for managing directories, enabling access to applications, and protecting identities. Bring in your users from Microsoft Entra ID to Omnata to integrate a master user record across systems.

### Authentication

#### OAuth (Microsoft Entra ID)

Visit the [Microsoft Docs](https://learn.microsoft.com/en-us/graph/auth-register-app-v2?view=graph-rest-1.0) for Setting up Microsoft Entra ID based authentication

### Setting up a new connection

When setting up a new connection you have the following option for authentication:

* OAuth (Microsoft Entra - Plugin Managed Tokens)

Items you will need to setup a connection:

* Client ID
* Client Secret
* Tenant ID

Application Permissions Required:

* Group.Read.All
* GroupMembers.Read.All
* User.Read.All

### Inbound Syncs

The streams have been designed so that you are able to create SCD Type 2 tables in Snowflake. This means that you can track changes to entities over time if you choose to historize the data. A full refresh will occur each time, but the behaviour of the streams will allow you to track changes over time.

Currently the following data can be retrieved:

* users
* user\_identities
* user\_assigned\_plans
* user\_provisioned\_plans
* user\_license\_assignment\_states
* groups
* user\_assigned\_licenses
* user\_group\_memberships

### Outbound Syncs

There is currently no outbound direction support for this App, but please [contact us](https://omnata.com/contact-us) and we can add features for your use case.


---

# Agent Instructions: 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:

```
GET https://docs.omnata.com/omnata-product-documentation/omnata-sync-for-snowflake/apps/microsoft-entra-id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
