For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft Entra ID (directory)

Sync people and teams from Microsoft Entra ID into gospace AI.

Connect your Microsoft Entra ID (formerly Azure Active Directory) tenant so gospace AI can import your people and teams and keep them up to date, with no manual uploads.

Before you start

  • You need a gospace AI account with permission to manage integrations.

  • You need a Microsoft Entra ID account that can grant admin consent for your organisation, such as a Global Administrator, Privileged Role Administrator or Cloud Application Administrator.

You don't need to create an app registration or copy a client ID, client secret or tenant ID. gospace AI connects through its own Microsoft app, and you approve its access during setup.

Permissions gospace AI asks for

When you connect, an administrator grants gospace AI's Microsoft app these read-only application permissions for your organisation:

Permission
Why it's needed

User.Read.All

Read the people in your directory

Group.Read.All

Read your groups so they can become teams

GroupMember.Read.All

Read who belongs to each group

Team.ReadBasic.All

Read basic details of your Microsoft Teams

gospace AI uses these to read your directory on a schedule, without depending on any one person's account. It never writes to your directory.

Step 1: Connect

  1. In gospace AI, go to Settings → Connectors and select Add connector. You can also start from the People step during onboarding.

  2. In the Connector library, choose the Microsoft Directory connector.

  3. Under Admin consent required, select Connect with Microsoft.

  4. A Microsoft window opens. Sign in with your Entra ID admin account, check the permissions listed above, and select Accept.

  5. The window closes and you return to setup.

Step 2: Map your people and teams

Once you've connected, the Mappings step shows the fields read from your directory. Choose which field fills each gospace AI field.

People

gospace AI field
What it's used for

External identifier

The stable ID that links each person to their directory record. Choose a field that never changes, such as the object ID.

Email

The person's email address

First name

The person's first name

Last name

The person's last name

Teams

Under Team source, choose where team membership comes from:

  • Groups: each Entra ID group becomes a team, and its members become the team's members.

  • Users: the team comes from a field on each person, such as their department.

Then choose the fields for Team id and Team name.

Select Save mappings to finish.

We recommend mapping teams. Without them, people are imported but not grouped, and you'll have to assign teams yourself.

Step 3: Sync

Open the connector from Settings → Connectors to manage it:

  • Run import pulls your directory now.

  • Automatic sync sets how often gospace AI pulls changes.

The connector keeps a history of its runs, so you can check when it last synced and whether it worked.

Troubleshooting

"Not connected — people and groups cannot be read": gospace AI doesn't have a Microsoft consent that covers the permissions above. This can happen if consent was revoked or we've added a new permission since you connected. Select Reconnect and accept the permissions again.

"No consent to read your directory" on the Mappings step: Same cause: connect again and accept the directory permissions. The fields will then appear.

People or teams are missing after a sync: Check your mappings, especially Team source and the External identifier. If the problem continues, contact gospace support.

Next steps:

Map your directory

Last updated