# We strongly recommend using the required_providers block to set the # Workplace Provider source and version being used terraform { required_providers { azuread = { source = "hashicorp/azuread" version = "~> 2.15.0" } microsoft365wp = { source = "terraprovider/microsoft365wp" version = "0.15.1" } } } variable "client_id" { type = string sensitive = true } variable "client_secret" { type = string sensitive = true } variable "tenant_id" { type = string sensitive = true } # Configure the Azure Active Directory Provider provider "azuread" { client_id = var.client_id client_secret = var.client_secret tenant_id = var.tenant_id } # Configure the Workplace Provider provider "microsoft365wp" { client_id = var.client_id client_secret = var.client_secret tenant_id = var.tenant_id }