Skip to content

Conversation

@mawasile
Copy link
Contributor

This pull request makes significant updates to the Power Platform tenant settings resource and data source to better align attribute names with the Power Platform API, introduces several new configuration options, and deprecates some existing attributes. The documentation and example usage files have been updated accordingly.

The most important changes are:

Breaking/Renaming Changes:

  • Multiple tenant settings attributes have been renamed for consistency with the Power Platform API. For example, disable_survey_feedback is now product_feedback.disable_user_survey_feedback, and several other attributes have been similarly renamed or moved under new nested blocks.

New Features and Attributes:

  • Added new tenant settings attributes, including:
    • product_feedback.disable_attachments
    • product_feedback.disable_microsoft_surveys_send
    • power_apps.disable_copilot
    • power_apps.enable_canvas_app_insights
    • power_automate.allow_use_of_hosted_browser
    • governance.weekly_digest_email_recipients
    • licensing.apply_auto_claim_power_automate_to_only_managed_environments
    • intelligence.copilot_studio_authors_security_group_id
    • Root-level enable_support_use_bing_search_solutions
      [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]

Deprecations:

  • Deprecated the disable_create_from_image and disable_create_from_figma attributes in both the data source and resource. These are now marked as deprecated in documentation and should be replaced with updated configuration. [1] [2] [3]

Documentation Updates:

  • Updated docs/data-sources/tenant_settings.md and docs/resources/tenant_settings.md to reflect all attribute renames, deprecations, and new options, including new nested blocks and improved descriptions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

Example Updates:

  • Updated example resource configuration in examples/resources/powerplatform_tenant_settings/resource.tf to use the new attribute names and structures, and to demonstrate new features. [1] [2]

These changes improve alignment with the Power Platform API, add new configuration flexibility, and clarify the documentation for users.

…ma attributes in powerplatform_tenant_settings
…d product feedback settings

- Removed `disable_nps_comments_reachout` and `disable_survey_feedback` from TenantSettingsDataSourceModel and TenantSettingsResourceModel.
- Added `product_feedback` nested attribute in PowerPlatformSettingsModel with fields to control feedback settings.
- Introduced `ProductFeedbackSettings` struct to encapsulate feedback-related configurations.
- Updated resource schema to reflect changes in tenant settings.
- Modified tests to validate the new product feedback settings and removed references to deprecated fields.
…ture

- Added new properties to powerAutomate and powerApps sections in multiple JSON files.
- Updated existing properties to maintain consistency across tenant settings.
- Ensured all JSON files are formatted correctly and adhere to the latest schema requirements.
@mawasile mawasile requested a review from a team as a code owner January 13, 2026 11:05
Copilot AI review requested due to automatic review settings January 13, 2026 11:05
@mawasile mawasile linked an issue Jan 13, 2026 that may be closed by this pull request
11 tasks
@mawasile mawasile changed the title extend tenant settings change: extend tenant settings Jan 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request extends the Power Platform tenant settings resource and data source to better align attribute names with the Power Platform API while introducing new configuration options.

Changes:

  • Renamed multiple tenant settings attributes to align with the Power Platform API naming conventions
  • Added new tenant settings attributes for product feedback, copilot, governance, licensing, and intelligence
  • Deprecated disable_create_from_image and disable_create_from_figma attributes

Reviewed changes

Copilot reviewed 21 out of 23 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
resource_tenant_settings.go Updated schema with new/renamed attributes and deprecation markers
datasource_tenant_settings.go Updated data source schema to match resource changes
models.go Updated model structures to support new attributes
dto.go Added DTO structures and conversion logic for new attributes
resource_tenant_settings_test.go Updated tests to cover new and renamed attributes
datasource_tenant_settings_test.go Updated data source tests
api_tenant_settings.go Added correction logic for new UUID field
JSON test fixtures Updated all test fixtures with new API response structure
examples/resource.tf Updated example configuration with new attributes
docs/* Updated documentation for resource and data source
.changes/* Added changelog entries for deprecations and changes

mawasile and others added 5 commits January 13, 2026 12:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…_copilot_help_assistance' in tenant settings
@mawasile mawasile added the run-acceptance-tests PR tag for triggering acceptance tests label Jan 13, 2026
- `policy` (Attributes) Policy (see [below for nested schema](#nestedatt--power_platform--governance--policy))
- `weekly_digest_email_recipients` (Set of String) Weekly Digest Email Recipients

<a id="nestedatt--power_platform--governance--policy"></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider adding a section for current users to migrate to this version, such as deprecated fields, moved fields, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would require creating custom markdown page, maybe we can mention that in release notes?

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
438 2 436 9
View the full list of 2 ❄️ flaky test(s)
github.com/microsoft/terraform-provider-power-platform/internal/services/data_record::TestAccDataRecordDatasource_Validate_Single_Record_Expand_Query

Flake rate in main: 30.11% (Passed 130 times, Failed 56 times)

Stack Traces | 1200s run time
Failed
github.com/microsoft/terraform-provider-power-platform/internal/services/environment::TestAccEnvironmentsResource_Create_Environment_And_Add_Env_Group

Flake rate in main: 29.31% (Passed 123 times, Failed 51 times)

Stack Traces | 1201s run time
Failed

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Co-authored-by: Engin Polat <118744+polatengin@users.noreply.github.com>
@mawasile mawasile removed the run-acceptance-tests PR tag for triggering acceptance tests label Jan 14, 2026
@mawasile mawasile added the run-acceptance-tests PR tag for triggering acceptance tests label Jan 14, 2026
@mawasile mawasile changed the title change: extend tenant settings [DO NOT MERGE] change: extend tenant settings Jan 19, 2026
@mawasile mawasile linked an issue Jan 20, 2026 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-acceptance-tests PR tag for triggering acceptance tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing in Schema or example or not available but in example Missing Tenant Settings

4 participants