Skip to content

Add an Entra group to an IAM Policy

If all of the previous steps have been followed, you should have an Entra tenant in your Connect Organisation with a status of "The tenant exists in Entra. None of its Groups are referenced in this Organisation’s IAM Policy."

You are now ready to add Entra groups to your Organisation's IAM policy. This will enable Connect to determine which Endpoints may talk to each other based on Entra group membership (as well as anything else defined in the IAM policy).

You will need the name or Object ID of the Entra group you wish to use for defining access in Connect.

A group name is more readable, though it can be changed in Entra; an Object ID is less readable, though it cannot be changed in Entra.

Find groups in Entra

You can find details about a group, including its name and Object ID, in the Microsoft Entra admin center by going to Groups -> All groups and selecting a group.

In this example we will use a group with the name "Sales Group" in the tenant "Demo Tenant".

Referencing tenants

Tenants can only be referenced by the name given to them in Connect. This can be found in the Identity Providers tab of your Organisation.

  1. In the Connect Control Service, browse to the Organisation that uses the Entra tenant.
  2. Open the IAM Policy tab.
  3. Click "Edit" to edit the existing policy. Edit IAM Policy
  4. Add a reference to the Entra group in the policy; for example:

        "acls": [
            // Allow Users in the Entra group "Sales Group" to talk to each other
                "action": "accept",
                "src": ["group:Sales Group@Demo Tenant"],
                "dst": ["group:Sales Group@Demo Tenant"]
  5. Click "Save". You should then see a message confirming that the IAM Policy has been successfully updated.

In this example, the following would happen:

  • User membership of "Sales Group" in "Demo Tenant" will be synchronised between Entra and Connect
  • Members of "Sales Group" will be able to communicate with each other
  • The tenant status will change in the Identity Providers tab to "The tenant has Groups referenced in this Organisation’s IAM Policy, all of which are up to date."

    Tenant Groups Synced

Further changes to the Entra user group will be synced to Connect. The time delay for this is dependent on Entra, but is usually within a few minutes.

Further groups may be added to the acls section as necessary.

For more details about what is possible with IAM Policy in Connect, such as controlling access to specific Endpoints or grouping Endpoints with tags, see the IAM policy explainer.