Discover devices with Google Workspace
Connect Google Workspace to XFA to discover the devices your organization uses for work.
Start the Google connection
- In the XFA dashboard, open Discover.
- Click Add connection, or New if you already have a connection.
- Choose Discover devices in Google and click Continue.

Each device discovery connection counts toward your plan’s limit. If you reach it, remove a connection or upgrade your plan.
Connect the Mobile Devices API
Click Connect and complete the Google sign-in and consent screen with an account that can authorize access for your organization. This gives XFA access to iOS and Android device data.
Grant XFA access to the Cloud Identity API
Set up domain-wide delegation so XFA can read all devices through the Cloud Identity API.
-
Click Open Domain-wide Delegation page to open it in the Google Cloud Console.
-
Click Add new.
-
Fill in these values. The wizard has a copy button next to each one.
Field Value Client ID 107563464460134163966Scope https://www.googleapis.com/auth/cloud-identity.devices -
Click Authorize.
-
Back in XFA, tick I have set up Domain-wide Delegation in the Google Admin console. The next step stays locked until you do.
Select the devices XFA needs to discover
Choose which devices XFA imports:
- Discover all devices imports every device found in your authentication logs.
- Only discover devices from selected groups imports devices for the groups you pick in the group selector.
To leave out a device type, tick Exclude desktop devices or Exclude mobile devices.
Click Start discovery. The first devices appear on the Devices page as XFA finds them.
Adjust scoping later
To change the scope after setup, open Discover and click Manage on your Google connection. Besides the device type filters, this page has two more options:
- Only unmanaged devices skips devices that Google already marks as managed, for example by Google Endpoint Management.
- Filter by groups limits device discovery to Only specific groups, or leaves out groups with Exclude groups. If a group is both included and excluded, it is excluded.
If mobile devices do not show up, check that Endpoint verification is set to at least Basic in the Google Workspace Admin console. Without it, Google does not record session data from mobile devices.