COVERAGE
What TerraProvider manages in Intune and Entra ID.
Every resource in version 0.20.2, grouped the way you'd look for it. Each one has a docs page in the Terraform Registry, and each one can be imported from a live tenant.
- 60 resources
- 127 data sources
- 25 Graph areas
- version 0.20.2
Eight families of resources
The registry sorts the resources into 25 Graph areas. Here they're in the eight groups an Intune or Entra ID admin would use.
Intune devices
Settings catalog and classic configuration profiles, compliance policies and scripts, filters, PowerShell and shell scripts, Windows feature and driver updates.
Intune apps
Apps of 21 types with their packages, app protection and app configuration policies, categories, Company Portal branding.
Enrollment
Autopilot profiles and their assignments, enrollment restrictions and settings, the Microsoft Defender for Endpoint connector.
Conditional Access and sign-in
Conditional Access, authentication contexts and strengths, authentication methods, security defaults, authorization, device registration and external identities policies.
Cross-tenant access
Default and per-partner inbound and outbound settings, cross-tenant synchronization.
Roles and governance
Custom roles, PIM role settings, lifecycle workflows, administrative units, custom security attributes, group-based licensing, connected organizations.
Windows 365
Cloud PC provisioning policies and user settings.
Network and apps
Application proxy connector groups, IP application segments, Global Secure Access tenant status, the tenant's SharePoint settings, a provisioning schema.
All 60 resources
Filter by family. The name links to the resource's docs, with every attribute and its default.
Every resource also exists as a data source, so you can read an object you don't manage yet. Version 0.20.2; the next release adds the profile card property.
Tenant-wide settings are resources too
13 of the resources exist once per tenant. They're rarely touched, which is exactly why they drift: the last person who changed them has often left.
Authentication methods
Which methods users may register and use.
authentication_methods_policyAuthorization policy
What default users may do, from creating apps to registering agent identity blueprints.
authorization_policySecurity defaults
On or off.
identity_security_defaults_enforcement_policyDevice registration
Who may join and register devices.
device_registration_policySelf-service sign-up
Whether external users may sign up on their own.
authentication_flows_policyExternal identities
Whether external users may leave the tenant.
external_identities_policyCross-tenant access
The tenant's policy object.
cross_tenant_access_policyCross-tenant defaults
Inbound and outbound settings for every tenant without its own entry.
cross_tenant_access_policy_configuration_defaultLifecycle workflow settings
Sender domain and branding of workflow emails.
identity_governance_lifecycle_management_settingsDefender for Endpoint connector
The connector's settings in Intune.
mobile_threat_defense_connector_microsoft_defenderWindows management app
The managed installer setting.
windows_management_appGlobal Secure Access
The tenant's onboarding status.
networkaccess_tenant_statusSharePoint
The tenant's SharePoint settings, such as sharing.
sharepoint_settings
What it reads but doesn't create
These objects come from somewhere else: your identity process, Microsoft or another provider. TerraProvider looks them up so your policies can point at them. In short: users, groups, applications, service principals and license SKUs, plus a few helpers.
| Data source | What you use it for |
|---|---|
| application | Reference an app registration, for example in Conditional Access. |
| cloud_pc_device_image | Pick your own Windows 365 image. |
| cloud_pc_gallery_image | Pick a Windows 365 gallery image for a provisioning policy. |
| connector | Find an application proxy connector to put into a connector group. |
| group | Assign a policy to an existing group. Create groups with HashiCorp's azuread provider. |
| identity_governance_task_definition | Find a built-in lifecycle workflow task. |
| identity_governance_workflow_version | Read earlier versions of a lifecycle workflow. |
| service_principal | Reference an enterprise app. |
| subscribed_sku | Look up a license SKU for group-based licensing. |
| unified_role_management_policy_assignment | Find which PIM policy belongs to which role. |
| user | Find a user's id for an assignment or an exclusion. |
Two functions for app packages
parse_intunewin_metadata
Reads
Detection.xmlfrom a.intunewinfile, so the file name and setup file of a Win32 app come from the package.parse_appxmsix_metadata
Reads
AppxManifest.xmland the logo from an APPX or MSIX package.
What this provider doesn't cover
Run a plan against your own tenant.
Every resource above has its own page in the Terraform Registry. The Community Edition is free for organizations with up to 99 users.