Entra
Microsoft Entra ID is the directory where your company keeps its people, groups and licences. With this connector, TAO can look people and groups up and, with approval, manage them.
What you can do
Illustrative examples.
- "Who works in the Finance department?"
- "Who is in the Engineering group?"
- "Which licences does our company have?"
- "Create an account for our new starter, then add her to Engineering."
- "Disable the account of someone who has left."
Before you connect
- A work or school Microsoft account. Personal accounts are not allowed for this connector.
- A tenant administrator in your company must approve the app once. A tenant is your company's own Microsoft setup. The code says the permissions to read users and groups need this approval, so there is no way around it. If you are not an administrator and see "Need admin approval", ask your IT team.
- Reading works for an ordinary employee once the company has approved the app.
- Writing needs the matching Entra role on your own account, such as User Administrator, Groups Administrator or License Administrator. Without the role, the change is refused. This is by design.
Connect it
Open Connectors
Go to Settings and open Connectors. Find the Entra ID Directory (Users and Groups) card.
Click Connect
Click Connect. Microsoft's sign-in page opens. Only work or school accounts can sign in.
Approve
Sign in and approve. If an administrator has not approved the app yet, Microsoft shows "Need admin approval" and stops. Ask your IT team to approve it, then try again.
Check the card
You return to TAO and the card shows Connected. Your company's tenant is detected automatically from your sign-in.
Tools
Tools marked Write, approval do not act straight away. They wait in the approvals queue. The card names the person or group, for example "Add Sarah Chen to Engineering".
Read
| Tool | What it does | Read or Write |
|---|---|---|
entra_list_users | Lists people in the directory with sign-in name, job title, department and whether the account is enabled. One page, with an optional filter | Read |
entra_get_user | Gets one person by user ID or sign-in name | Read |
entra_get_enabled_users | Gets one page of people whose accounts are enabled | Read |
entra_list_enabled_users | Lists enabled people across several pages, up to 500 users or 20 pages, and marks the result if it was cut short | Read |
entra_find_groups | Finds groups by name | Read |
entra_get_group | Gets one group | Read |
entra_list_group_members | Lists the members of a group | Read |
entra_get_group_custom_attributes | Gets a group's custom attributes | Read |
entra_list_subscribed_skus | Lists the licences your company owns, so a licence can be named. Leaves out the long list of service plans unless asked | Read |
Write
| Tool | What it does | Read or Write |
|---|---|---|
entra_create_user | Creates a user. A temporary password is generated when the request is approved and the person must change it at first sign-in | Write, approval |
entra_update_user | Changes details of a user. It refuses to change enabled status, password or sign-in name | Write, approval |
entra_delete_user | Deletes a user. You must give the person's name, and it is checked when queued and again when approved | Write, always approval |
entra_create_group | Creates a group | Write, approval |
entra_delete_group | Deletes a group. This also removes the linked Team, its channels and its SharePoint site | Write, always approval |
entra_add_group_member | Adds a person to a group | Write, approval |
entra_reset_custom_attributes | Clears all custom attributes on a group. There is no backup | Write, always approval |
entra_assign_license | Adds a licence to a user. It can only add and never removes | Write, approval |
entra_revoke_sign_in_sessions | Signs a person out everywhere. They may need to sign in again, possibly with a second factor | Write, always approval |
entra_disable_user_account | Disables a user account, or enables it again by setting enabled to true | Write, approval |
Total: 19 tools (9 reads, 10 writes that wait for approval). Four writes can never be skipped by approval settings, even in a bypass chat: delete user, delete group, reset custom attributes and revoke sign-in sessions.
Limits and good to know
- Directory only. This connector cannot manage Azure resources such as virtual machines, networks or subscriptions.
- A "permission denied" answer is normal. Reads work for most people, but writes need an administrator role.
- If your company syncs users from an on-premises directory, a change to a synced user fails. The change has to be made on-premises and then syncs. This affects only synced users. Cloud-only users can be changed.
- A licence cannot be assigned to a person with no usage location set. Use
entra_update_userto set it first. - Creating a user fails if the sign-in name already exists or if the generated password breaks your company's password rules.
- Removing a licence is not offered, because Microsoft can delete the person's mailbox and OneDrive after a grace period.
- The reads were checked against a real company tenant. The product notes say the writes were built the same way but were not yet checked against a real tenant.
- The initial password for a new user is returned in the result, so the administrator can hand it over. It also appears in the chat.
- Tool descriptions say the connector covers the directory only. Use it for joiner, mover and leaver tasks, not for cloud resource changes.