Skip to content

Releases: microsoft/terraform-provider-power-platform

v4.0.0

16 Dec 20:08
Immutable release. Only release title and notes can be modified.
f8775b6

Choose a tag to compare

4.0.0 - 2025-12-16

Important

This is a breaking release, powerplatform_managed_environment maker_onboarding_markdown and maker_onboarding_url are now removed.

💥 Breaking

  • #1000 powerplatform_managed_environment removing no longer supported attributes (maker_onboarding_markdown, maker_onboarding_url) added new attributes (power_automate_is_sharing_disabled, copilot_allow_grant_editor_permissions_when_shared, copilot_limit_sharing_mode, copilot_max_limit_user_sharing)

🪲 Fixed

  • #931 Fixed error when environment is part of an Environment Group by adding warning instead of error when managed environment settings cannot be applied
  • #984 Deprecate tenant_id attribute in tenant capacity data source and migrate to new API endpoint with expanded response structure
  • #1006 Handle 404 status on environment read/delete as deleted resource instead of fatal error

v3.9.1

06 Oct 19:19
Immutable release. Only release title and notes can be modified.
502b8eb

Choose a tag to compare

3.9.1 - 2025-10-06

🪲 Fixed

  • #943 Fixed custom connector URL patterns in data loss prevention policies to maintain correct order based on rule order property

v3.9.0

01 Oct 17:50
10429a1

Choose a tag to compare

3.9.0 - 2025-10-01

💫 Changed

  • #928 Enhanced powerplatform_connectors data source to support filtering by environment_id
  • #910 Extended powerplatform_environment_settings resource to support new AI-powered features including Copilot Studio settings, PowerApps Maker Bot, AI form fill capabilities, and natural language search features

🪲 Fixed

  • #877 update API permissions for Power Platform Provider documentation
  • #878 update power catalog audience setting validation to include SpecificAdmins option and correct string validator option

v3.8.0

03 Jul 20:01
0f4dee6

Choose a tag to compare

3.8.0 - 2025-07-03

✨ Added

  • #828 Add support for Azure Developer CLI authentication via use_dev_cli provider configuration option and POWER_PLATFORM_USE_DEV_CLI environment variable
  • #782 Add powerplatform_environment_application_admin resource to enable adding Entra service principals as application users with System Administrator role in Dataverse environments
  • #781 support partner_id configuration and opt-out for default Terraform partner ID

💫 Changed

  • #867 powerplatform_tenant_capacity resource is now available in preview with user authentication support only
  • #823 Improved error message formatting and consistency for better user experience across environment templates, tenant isolation policy, and tenant settings resources

⚰️ Deprecated

  • #860 Mark powerplatform_rest resource as deprecated. Known uses do not align with the intent of the resource. Please consider using specific resources for your use case, or opening a GitHub issue requesting a new resource for your use case.

🪲 Fixed

  • #806 Improved error handling in environment group services - fixed missing error wrapping, silent failures, and incorrect error messages
  • #804 Fix pointer handling issues across codebase for better Go idioms
  • #825 Fixed type safety and formatting issues including missing string validation, interface assertions, and escaped newline formatting
  • #798 Fixed duplicated constants and literals issues across codebase to improve maintainability
  • #808 Fixed recursive retry loops and missing return statements in environment services that could lead to infinite loops and data corruption. Added proper error wrapping for better debugging context.
  • #810 fix: add proper API error wrapping and data conversion context across multiple services
  • #812 fix: improve error handling for retry loops, state management, validators, and diagnostic reporting across 9 critical components to prevent silent failures and data corruption
  • #814 Fixed missing return statements after error handling in three datasources to prevent potential panics and undefined behavior
  • #815 Add missing nil pointer validation checks to prevent runtime panics in application API client, authorization resource, and environment models
  • #816 Improved error handling and diagnostics across multiple services: fixed missing parameter context in connection shares error messages, proper error propagation in DLP policy helper functions, handled ignored errors in data record column conversion, and corrected misleading error messages in environment settings
  • #817 Fixed JSON Marshal/Unmarshal issues: added empty response body validation, proper error handling for JSON marshaling, safe type assertions, and corrected Decode usage
  • #818 Fixed infinite polling loop in environment wave UpdateFeature method by adding context deadline checking to respect timeout configuration
  • #820 Improve code structure and maintainability by extracting deeply nested schema definitions into helper functions, reducing duplication in DTO conversion logic, and enhancing error handling for feature state mapping
  • #821 Fixed validation and modifiers issues: improved error handling in validators and plan modifiers, corrected error messages for SHA256 checksums, and enhanced diagnostic context
  • #824 Fix configuration and constants issues: CAE challenge detection strings, RX PowerApps Advisor API domain constants, and AuxiliaryTenantIDs type safety conversion
  • #839 Fixed type assertion safety issues in multiple services to prevent potential runtime panics when API responses have unexpected structure or types
  • #840 Fixed type assertion safety issues in DTO conversions and data transformations to prevent runtime panics. Added proper error handling for type assertions in tenant_settings, environment_group_rule_set, dlp_policy, and data_record services. Improved UUID type equality method to support both value and pointer types.
  • #841 Fixed unsafe type assertions in provider data handling that could cause panics and misleading error messages
  • #842 Fixed reflection and type safety issues in provider code. Replaced unsafe reflection usage in API client, improved error handling with Go 1.13+ patterns, and added validation for conversion functions to prevent runtime panics.
  • #808 Fix recursive retry loops and missing return statements after AddError in environment services

v3.7.2

16 May 15:58
5b2843b

Choose a tag to compare

3.7.2 - 2025-05-16

🪲 Fixed

  • #775 Fixed issue when powerplatform_environment security_group_id validates unknown values incorrectly

v3.7.1

14 May 07:09
d89bf04

Choose a tag to compare

3.7.1 - 2025-05-13

🪲 Fixed

  • #702 Fix retryAfter function to properly handle all formats of Retry-After HTTP header as defined in RFC 7231
  • #705 Replace panic with error handling in environment_settings models.go
  • #707 Added nil check for HTTP response in doRequest method to prevent potential nil pointer dereference
  • #708 Improve DeleteEnvironment function behavior: Handle 404 responses gracefully and adjust state management in Delete method
  • #710 Fixed improper error handling by replacing err.Error() calls with properly wrapped errors using fmt.Errorf() with %w verb or directly passing the error object. This preserves error context and enables better debugging.
  • #687 Fixed an issue where required field validation could fail incorrectly if the referenced field was missing or not unique in the configuration.
  • #749 Nil pointer dereference in regex validation.
  • #704 Replaced panic with proper error handling in ExecuteApiRequest function
  • #756 fix: refine current value check in MakeFieldRequiredWhenOtherFieldDoesNotHaveValueValidator
  • #767 feat: implement conflict handling and retry logic for environment operations

📚 Documentation

  • #768 documentation for governance

v3.7.0

29 Apr 06:25

Choose a tag to compare

3.7.0 - 2025-04-29

✨ Added

  • #719 Operation lifecycle operation continue on HTTP 409 responses

💫 Changed

  • #736 Include debug symbols in goreleaser builds by removing -s -w flags from ldflags

🪲 Fixed

  • #720 Corrected validator logic in OtherFieldRequiredWhenValueOfValidator to properly handle field comparison cases
  • #703 Updated StringSliceToSet function to return an error instead of panicking when conversion fails
  • #706 Replace panic calls with proper error handling in tenant_settings dto.go
  • #709 Fixed misleading error message and debug log typos in the User resource
  • #745 fix: add http.StatusConflict to API response handling in enterprise and managed environment services

📚 Documentation

  • #741 Add security considerations guide

v3.6.0

24 Apr 19:18
cb6ec53

Choose a tag to compare

3.6.0 - 2025-04-24

✨ Added

  • #652 new powerplatform_environment_wave that allows to install newest wave update in an environment. Currently available only with user authentication login
  • #306 Added Continuous Access Evaluation (CAE) checks

💫 Changed

  • #636 Updated resources with new default values

🪲 Fixed

  • #670 Added custom error message for lack of management application permissions
  • #673 standardize the logging and error messages by replacing ProviderTypeName with FullTypeName
  • #686 Update authorization header check in doRequest function
  • #693 Add support for HTTP status code 499 in AddDataverseToEnvironment function
  • #698 Improved file hashing to check if file is a real file and not a symbolic link
  • #709 Fixed incorrect error message in powerplatform_user delete operation
  • #714 Enhance error handling for 403 & 404 WebApi responses

📚 Documentation

  • #679 added documentation how to turn off Azure CLI telemetry
  • #695 adding documentation and samples for Azure DevOps authentication with Workload Identity Federation.

v3.5.0

20 Mar 21:58

Choose a tag to compare

3.5.0 - 2025-03-20

✨ Added

  • #566 Added the auxiliary tenant property to supported auth options
  • #612 new tenant_isolation_policy resource to enforce tenant isolation settings
  • #574 new powerplatform_solution_checker_rules datasource for retrieving solution checker validation rules
  • #486 new powerplatform_analytics_data_exports data source

💫 Changed

  • #650 updated descriptions for attributes

🪲 Fixed

  • #616 powerplatform_data_record: added meaningful error when record already exist and HTTP 405 is returned
  • #621 Lifecycle operation will retry if 'Failed' status was return.
  • #622 powerplatform_user: added retry when user is not yet added to the dataverse

📚 Documentation

  • #608 Added dynamic configuration guide to user documentation

v3.4.0

06 Mar 15:39
87bb59b

Choose a tag to compare

What's Changed

✨ Added

  • #243 Added Managed identity and Workload Identity Federation authentication
  • #548 powerplatform_environment added explicit error when cannot provision new environment in a selected azure region
  • #551 added new powerplatform_copilot_studio_application_insights resource
  • #116 powerplatform_managed_environment adding solution_checker_rule_overrides attribute that allows defining solution checker rules when enabling managed environment
  • #568 powerplatform_environment enhance support for creating developer environment on behalf of a user
  • #572 powerplatform_environment support get new features early with new release_cycle attribute
  • #576 powerplatform_environment_settings adding additional IP firewall settings
  • #589 powerplatform_environment adding allow_bing_search and allow_moving_data_across_regions attributes

💫 Changed

  • #604 powerplatform_environment attributes environment_group_id and billing_policy_id uses empty guid 00000000-0000-0000-0000-000000000000 as no value, instead of ""

🪲 Fixed

  • #557 powerplatform_data_record adding warning when something else than set is used for columns dynamic attribute
  • #565 Fixed issues with powerplatform_environment_group_rule_set throwing RuleSetInvalid error
  • #595 powerplatform_environment fixing bug that updating display_name field triggers managed environment to enable itself

📚 Documentation

  • #538 Improve documentation around powerplatform_environment_application_package_install resource
  • #584 Correct telemetry_optout documentation about User-Agent header

Full Changelog: v3.3.0...v3.4.0