hashicorp / terraform-provider-azuread

Terraform provider for Azure Active Directory
https://registry.terraform.io/providers/hashicorp/azuread/latest/docs
Mozilla Public License 2.0
420 stars 288 forks source link

Add User Settings configuration #714

Open karimelmel opened 2 years ago

karimelmel commented 2 years ago

Community Note

Description

Adds configuration of critical tenant configuration from User Settings https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/UserSettings

New or Affected Resource(s)

Potential Terraform Configuration

data "azuread_groups" "example" {
  display_names = ["group-a"]
}

resource "azuread_user_settings" "example" {

  user_app_registrations = false
  restrict_admin_portal  = true
  linkedin_accounts      = ["SelectedGroup"]
    selected_group {
      object_id = [data.azuread_groups.example.object_ids]
    }
}

References

stefanovic45 commented 1 year ago

Is it even possible to configure these settings via PowerShell?

tx0-stb commented 1 year ago

Is it even possible to configure these settings via PowerShell?

No, I realized it would be impossible to fulfill this feature request due to a lack of API support