Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

Azure Active Directory (AAD) is now known as Entra ID

Overview

This document provides instructions on how to connect to an API to import data from this application into your instance of Zilla.

In this guide, you will:

  1. Launch your application from inside Zilla

  2. Set up an API configuration

  3. Send your data securely to Zilla

Step-by-Step Instructions

Note: To configure sync with AAD you need to be an admin or application owner within Zilla AND have admin access to your organization's Azure Active Directory (AAD) application, specifically Global administrator role.

  1. Login to Azure Active Directory with your admin credentials.

  2. Click Azure Active Directory to be redirected to your tenant’s overview page.

  3. Copy and save the Primary domain for the tenant you want to sync for use in a later step.

  4. Login to Zilla with your admin credentials.

  5. You will see your Zilla Applications tab, click Add Application button at the top right.

  6. You will see Add Application screen with Search Library tab. Type aad as search text, and click Add to Applications button on the right side of the Azure Active Directory entry.

  7. Fill in the form with appropriate details and click Add to Applications button.

  8. The AAD instance will be added to your Applications, click the Azure Active Directory application name.

  9. You will see a detailed application instance page. Click Sync now in the top right corner.

  10. A dialogue appears, enable API Integration.

  11. Upon enabling the API Integration more customisation options appear.

    image-20240408-111538.png

    1. AAD tenant's domain name - Fill in the domain name saved above.

    2. Sync All Groups? ( Yes/No ) - Yes will sync all groups from Azure Active Directory, No will only sync security-enabled groups. Default value: No.

    3. Comma-separated attributes that identify a user - Provide an AAD-specific attribute (e.g., employeeId, jobTitle, department, etc) for which you want to sync AAD users. For example, if you specify department, only accounts that have a defined department will be imported. If multiple attributes are specified, all accounts having at least one of the attributes defined will be imported. Be sure to refer to this document before entering the attribute, otherwise all the accounts will be marked as Service if the attribute does not match with what is specified in the document.

    4. Auto Discover Azure Cloud subscriptions? (Yes/No) - Yes will auto-discover all the Azure Cloud subscriptions and create application instances for them in Zilla. Default value: No.

    5. Auto Sync discovered subscriptions? (Yes/No ) - Yes will automatically sync the auto-discovered subscriptions when the parent is synced. This value should be set to No if Auto Discover Azure Cloud subscriptions? (Yes/No) is set to No. Default value: No.

    6. Enable account modifications? (Yes/No) - Yes will automatically revoke group memberships, group ownerships and permissions that have been flagged for revocation after an access review during a sync. Note: This setting is only available if Account Modifications are enabled in the tenant Settings.

    7. Sync last login? (Yes/No) - Yes will bring lastLogin for a user. Default No.

      Note:

      1. To complete configuration of this setting you must reauthenticate after setting Yes, check “Reauthenticate API integration” box if this is not the first sync.

      2. Also, user who is authorizing the sync should have one of the following roles:

        1. Global Administrator

        2. Global Reader

        3. Security Administrator

        4. Security Reader

        5. Conditional Access Administrator

      3. The last login data that is synced matches what is displayed on the User’s Overview page.

    8. Comma separated custom select fields (e.g., country, id) - This configuration allows you to retrieve additional fields from Azure Active Directory (AAD) by specifying a comma-separated list of field names. For example, you can input "city, officeLocation" to retrieve the city and office location field. For more info refer this https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#select-parameter.

  1. Click Sync Now.

  2. Click Next.

  3. You will be taken to the Microsoft site where you need to log in with a user with the Admin (Global administrator) role for AAD and grant consent on behalf of the organization.

  4. The consent screen will look like the image below when Auto Discover Azure Cloud subscriptions? (Yes/No) is set to Yes.

  5. The consent screen will look like the image below when Auto Discover Azure Cloud subscriptions? (Yes/No) is set to No.

  6. The consent screen will look like the image below when Enable account modifications? (Yes/No)(Yes/No) is set to Yes. Highlighted permissions are the new ones for consent if you have previously synced AAD with Enable account modifications? (Yes/No) set as No.

  7. Click Accept. On successful OAuth, you will be redirected to Zilla with Sync in progress... message for newly added AAD application instance.

  8. On successful sync, you will see the following notification:

Note: In some cases, the process of configuring and using the Azure Active Directory API through Zilla to sync permissions and users with your organization's AAD may be done by an Azure user with Global Reader permissions. When an Azure Global Reader makes the initial sync request the request will need to be approved within the Azure portal by a Global Administrator as shown in the steps below:

Step 1. Global Reader initiates Azure Active Directory sync with Zilla.  A consent request will be created in the Azure Active Directory portal.

Step 2. In Azure Active Directory go to Enterprise applications, then Admin consent requests. The pending request appears waiting for approval.

Step 3. The Global Administrator approves the permissions request by clicking Accept.

Note: If you try to sync in a tenant other than for which you have entered the domain, Microsoft will return an error message.

Note:

If user has already consented the sync with Enable account modifications? (Yes/No) and Auto Discover Azure Cloud subscriptions? (Yes/No) set to No, then when re-authenticating the consent screen will not be shown for the same AAD user performing the sync. If the above values are set to Yes then the same user will now see the consent screen even without re-authentication until that user gives consent for these permissions.

When you have finished with all the steps above, review the information in Zilla that was synced.

Having trouble? Try our Troubleshooting articles or contact support@zillasecurity.com.

  • No labels