Skip to main content
Kandji Integration Connect your Kandji tenant with June for modern Mac device management and comprehensive asset tracking.

What you’ll accomplish

  • Generate API access token in Kandji
  • Configure the June integration
  • Understand Kandji data mapping
  • Set up automated sync preferences

Prerequisites

Before starting the integration, ensure you have:
  • Kandji tenant with API access
  • Admin or appropriate API permissions in Kandji
  • June organization admin permissions
  • Understanding of your Kandji device management setup

Setup Process

Step 1: Generate API Token in Kandji

1

Access Kandji Settings

  1. Log into your Kandji tenant
  2. Navigate to Settings in the left sidebar
  3. Go to Access section
  4. Select API Token
2

Create New Token

  1. Click Generate New Token
  2. Enter a descriptive name: “June Integration Token”
  3. Set appropriate permissions (see permissions section below)
  4. Click Generate
3

Copy and Secure Token

  1. Immediately copy the generated token
  2. Store it securely - you won’t be able to view it again
  3. Note the creation date for future reference

Step 2: Configure Token Permissions

Ensure your API token has the following permissions:

Required Permissions

  • Blueprints: Read access to device blueprint configurations
  • Users: Read access to user assignments
  • Audit Logs: Read access for fetching devices audit events
  • Tag Management: Read and write access to tags
  • Tenant Details: Read access to tenant license information. This is used to test the connection.
  • Devices: Access to device information, device actions, and device secrets (optional).
Kandji Permissions

Step 3: Configure June Integration

1

Access June Integrations

  1. Log into June
  2. Navigate to Integrations > MDM Systems
  3. Click Add Integration
2

Select Kandji

  1. Choose “Kandji” from the available integrations
  2. Click Configure to start the setup wizard
3

Enter Kandji Details

Provide the following information:
  • Kandji Organization API URL: Your Kandji organization API URL (e.g., https://yourcompany.api.kandji.io).
  • API Token: The token generated in Step 1
  • Sync Interval: How often June should sync with Kandji. Default is daily.
4

Test Connection

  1. Click Test Connection to verify the setup
  2. June will attempt to connect and retrieve sample data
  3. Resolve any authentication issues before proceeding

Step 4: Configure Sync Preferences

1

Set Sync Frequency

Choose how often June should sync with Kandji:
  • Every day: Recommended for most environments
  • Every other day: For larger environments or limited bandwidth
  • Weekly: For environments with fewer changes
2

Choose Data to Sync

Select which device attributes to synchronize:
  • Device Data (Always included)
  • Employee Data
  • Installed Software applications
  • Device Actions (Restart, Lock, Wipe, etc.)

Step 5: Schedule your first sync

1

Schedule your first sync

Click on the “Sync Now” button to schedule your first sync.

Data Synchronization

What Gets Synced

Data TypeKandji SourceJune DestinationNotes
Device IdentityComputer Name, Serial NumberDevice Name, Asset TagPrimary device identification
Hardware InfoModel, Processor, Memory, StorageHardware SpecificationsComplete hardware inventory
SoftwareOperating System, Software ApplicationsSystem Info, App InventoryOS version and installed apps
User AssignmentUser and Location fieldsEmployee AssignmentLinks devices to users
ComplianceLast Inventory, Check-in StatusHealth StatusDevice connectivity and compliance
Department DataDevice assignment to departmentsDepartment and LocationOrganizational groupings

Troubleshooting

Common Authentication Issues

Symptoms: “Authentication failed” or “Invalid token” errorsSolutions:
  • Verify the API token was copied correctly
  • Ensure that the Tenant Details permission is enabled.
  • Check if the token has been revoked or expired
  • Ensure sufficient permissions were granted to the token
  • Test the connection by clicking the “Test Connection” button.
Symptoms: “Access denied” errors for specific operationsSolutions:
  • Review token permissions in Kandji settings
  • Ensure all required permissions are enabled
  • Check if permissions were modified after token creation.
  • Edit the token permissions in Kandji and save.
  • Test the connection by clicking the “Test Connection” button.
Symptoms: “Tenant not found” or connection errorsSolutions:
  • Verify the Kandji organization API URL is correct. You must enter the full URL https://subdomain.api.kandji.io
  • Check for typos in the subdomain field
  • Ensure the Kandji tenant is active and accessible
  • Test direct access to Kandji web interface

Sync Issues

Possible Causes:
  • Devices not enrolled in Kandji
  • Devices haven’t checked in recently
  • Insufficient permissions to access certain devices
Solutions:
  • Verify device enrollment status in Kandji
  • Check last inventory date for missing devices
  • Confirm API permissions cover all required devices
Possible Causes:
  • Devices not checking in regularly
  • Sync frequency too low
  • Network issues preventing updates
Solutions:
  • Increase sync frequency if needed
  • Force inventory update on devices by clicking on the “Sync Now” button in the integration page.
  • Check device connectivity and management status
  • Review sync logs for specific error messages
Symptoms: Slow syncs, timeouts, high resource usageSolutions:
  • Reduce sync frequency during peak hours
  • Monitor Kandji server performance during sync windows
  • You could be hitting the rate limit of the Kandji API. You could try to increase the sync frequency to reduce the number of devices that are synced.

Best Practices

Security

  • Token Management: Regularly rotate API tokens (quarterly recommended)
  • Least Privilege: Grant only necessary permissions to integration tokens
  • Access Monitoring: Review API access logs in Kandji regularly
  • Secure Storage: Store tokens securely in June’s encrypted storage

Performance

  • Optimal Sync Frequency: Balance data freshness with API usage
  • Daily Sync: We sync the data for all devices every day. You can manually sync the data by clicking the “Sync Now” button. However, we recommend leaving it on daily sync.
  • Resource Monitoring: Kandji has a rate limit of 10,000 requests per hour per customer. If you have a large number of devices, you may need to stagger your syncs. However, we don’t see people hitting this limit.

Compliance

  • Regular Audits: Periodically review integration permissions and access
  • Change Documentation: Document any changes to integration configuration
  • Compliance Alerting: Set up proactive alerts for compliance violations
  • Blueprint Alignment: Ensure Kandji blueprints align with organizational policies

Integration Benefits

Unified Management

  • Single Pane of Glass: View Kandji-managed devices alongside other platforms
  • Consolidated Reporting: Generate reports across multiple device management platforms
  • Streamlined Workflows: Apply consistent processes across all Mac devices
  • Simplified Administration: Reduce context switching between management tools

Enhanced Insights

  • Cross-Platform Analytics: Compare Mac performance against other platforms
  • Trend Analysis: Identify patterns in Mac device health and usage
  • Predictive Maintenance: Use AI insights to predict Mac device issues
  • Cost Optimization: Optimize Mac refresh cycles based on actual usage data

Next Steps

Once your Kandji integration is configured:

Support Resources

Need help with your Kandji integration?
  • Kandji Documentation: Review Kandji API documentation and guides
  • June Community: Join discussions about Mac device management
  • Integration Support: Contact June support for integration-specific issues
  • Best Practices: Consult with June solutions engineers for optimization
Kandji integration typically establishes connection within minutes. It can take up to 1 hour for the initial sync to complete depending on the number of devices in your organization.
I