Skip to content

Missing Tenant Settings #959

@MarvinBangert

Description

@MarvinBangert

User Story

I was testing all the tenant settings and it seems like not all settings are yet available to be set using Terraform. The following settings from the PPAC I couldn't set using terraform:

  • Additional Copilot feedback
  • Tenant Level Analytics
  • Auto-claim policies for Power Apps
  • Basic Copilot Feedback
  • Canvas app insights
  • Copilot help assistance in Power Automate via Bing
  • Copilot Studio authors
  • Customer Lockbox
  • Environment routing
  • Hosted browser in computer use
  • Power Automate flow run resubmission
  • Product Feedback - Let Microsoft send surveys to users
  • Product Feedback - Allow attachments
  • Support Bing search solutions
  • Weekly digest (recipients)

Use case:

  • We would like to set all tenant settings using Terraform.

Resource

Potential Terraform Configuration

# Sample Terraform config that describes how the new resource might look.

resource "example_resource" {
  name = "example" # required
  parameter1 = "value1"
  enabled = false
  items = toset([
    { 
      name = "item name" # required, must be 3 characters or more
    }
  ])
}

Additional Validation Rules

API documentation

Action Verb URL Status Codes Comments
Create POST /api/v1/resources 201
Read GET /api/v1/resources/{id} 200
Update PUT /api/v1/resources/{id} 200
Delete DELETE /api/v1/resources/{id} 204

JSON

{}

Definition of Done

  • Data Transfer Objects (dtos) in dto.go
  • Resource Model in model.go
  • API Client functions in api_{name}.go
  • Resource Implementation in resource_{name}.go
  • Unit Tests in resource_{name}_test.go for Happy Path, Error conditions, boundry cases
  • Acceptance Tests in resource_{name}_test.go for Happy Path
  • Resource Added to provider.go and provider_test.go
  • Example in the /examples folder
  • Schema documented using MarkdownDescription
  • Change log entry changie new -k added
  • Run make precommit before PR

See the contributing guide for more information about what's expected for contributions.

Metadata

Metadata

Assignees

Labels

communityRequest or issue originated from a customer or community requestenhancementNew feature or requestresourceterraform resource

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions