{"name":"powerplatform","displayName":"Power Platform","version":"0.3.3","description":"A Pulumi provider for managing Microsoft Power Platform resources.","keywords":["category/cloud","kind/native"],"homepage":"https://github.com/rpothin/pulumi-powerplatform","license":"MIT","repository":"https://github.com/rpothin/pulumi-powerplatform","logoUrl":"https://raw.githubusercontent.com/rpothin/pulumi-powerplatform/main/docs/logo.svg","pluginDownloadURL":"github://api.github.com/rpothin","publisher":"rpothin","language":{"dotnet":{"packageId":"Rpothin.Powerplatform"},"java":{"basePackage":"io.github.rpothin"},"nodejs":{"packageName":"@rpothin/powerplatform"},"python":{"packageName":"rpothin_powerplatform","requires":{"pulumi":"\u003e=3.0.0,\u003c4.0.0"}}},"config":{"variables":{"clientId":{"type":"string","description":"The Azure AD Application (Client) ID. Can also be set with the AZURE_CLIENT_ID environment variable."},"clientSecret":{"type":"string","description":"The Azure AD Client Secret. Can also be set with the AZURE_CLIENT_SECRET environment variable.","secret":true},"tenantId":{"type":"string","description":"The Azure AD Tenant ID for authenticating with Power Platform. Can also be set with the AZURE_TENANT_ID environment variable."}}},"types":{"powerplatform:index:AppSummary":{"description":"Summary information about a Power App.","properties":{"displayName":{"type":"string","description":"The display name of the app."},"id":{"type":"string","description":"The unique identifier of the app."},"name":{"type":"string","description":"The internal name of the app."}},"type":"object"},"powerplatform:index:BillingInstrument":{"description":"Azure billing instrument (subscription) details for a billing policy.","properties":{"id":{"type":"string","description":"The billing instrument identifier."},"resourceGroup":{"type":"string","description":"The Azure resource group within the subscription."},"subscriptionId":{"type":"string","description":"The Azure subscription ID."}},"type":"object"},"powerplatform:index:ConnectorSummary":{"description":"Summary information about a Power Platform connector.","properties":{"displayName":{"type":"string","description":"The display name of the connector."},"id":{"type":"string","description":"The unique identifier of the connector."},"name":{"type":"string","description":"The internal name of the connector."},"type":{"type":"string","description":"The type of the connector."}},"type":"object"},"powerplatform:index:DataRecordLookup":{"description":"A reference to a related Dataverse record used as a lookup (single-valued) or many-to-many relationship value.","properties":{"dataRecordId":{"type":"string","description":"The GUID of the related record."},"tableLogicalName":{"type":"string","description":"The logical name of the related Dataverse table (e.g. systemuser, account, deploymentstage)."}},"type":"object","required":["tableLogicalName","dataRecordId"]},"powerplatform:index:DataRecordsExpandParam":{"description":"OData $expand parameter for a navigation property in getDataRecords.","properties":{"filter":{"type":"string","description":"OData filter expression for the expanded entity."},"navigationProperty":{"type":"string","description":"The navigation property name to expand."},"select":{"type":"string","description":"Comma-separated list of columns to include for the expanded entity."}},"type":"object","required":["navigationProperty"]},"powerplatform:index:Dataverse":{"description":"Configuration for the Dataverse database associated with a Power Platform environment.","properties":{"administrationModeEnabled":{"type":"boolean","description":"Whether the Dataverse instance is in administration mode."},"backgroundOperationEnabled":{"type":"boolean","description":"Whether background operations are enabled during administration mode."},"currencyCode":{"type":"string","description":"Currency code for the Dataverse database (e.g. USD). Immutable after creation."},"domainName":{"type":"string","description":"Domain prefix for the Dataverse instance URL."},"languageCode":{"type":"number","description":"Base language LCID (e.g. 1033). Immutable after creation."},"organizationId":{"type":"string","description":"Dataverse organization GUID. Computed."},"securityGroupId":{"type":"string","description":"AAD security group GUID restricting environment access."},"templateMetadata":{"type":"string","description":"JSON metadata for provisioning templates. Immutable after creation."},"templates":{"type":"array","items":{"type":"string"},"description":"Provisioning templates (e.g. D365_Sales). Immutable after creation."},"uniqueName":{"type":"string","description":"Dataverse unique name. Computed."},"url":{"type":"string","description":"URL of the Dataverse instance. Computed."},"version":{"type":"string","description":"Dataverse version string. Computed."}},"type":"object"},"powerplatform:index:EnterprisePolicy":{"description":"An enterprise policy associated with a Power Platform environment.","properties":{"id":{"type":"string","description":"The resource ID of the policy."},"location":{"type":"string","description":"Azure region of the policy."},"status":{"type":"string","description":"Policy link status (e.g. Linked, Disabled)."},"systemId":{"type":"string","description":"System-assigned ID of the policy."},"type":{"type":"string","description":"Policy type (e.g. NetworkInjection, Encryption, Identity)."}},"type":"object"},"powerplatform:index:EnvironmentSummary":{"description":"Summary information about a Power Platform environment.","properties":{"azureRegion":{"type":"string","description":"The Azure region of the environment."},"dataverseId":{"type":"string","description":"The Dataverse organization ID."},"displayName":{"type":"string","description":"The display name of the environment."},"domainName":{"type":"string","description":"The domain name of the Dataverse database."},"environmentGroupId":{"type":"string","description":"The environment group to which this environment belongs."},"geo":{"type":"string","description":"The geographical region of the environment."},"id":{"type":"string","description":"The unique identifier of the environment."},"securityGroupId":{"type":"string","description":"The security group that controls access."},"state":{"type":"string","description":"The current state of the environment."},"tenantId":{"type":"string","description":"The tenant that the environment belongs to."},"type":{"type":"string","description":"The type (SKU) of the environment."},"url":{"type":"string","description":"The URL of the Dataverse database."},"version":{"type":"string","description":"The version of the Dataverse database."}},"type":"object"},"powerplatform:index:FlowSummary":{"description":"Summary information about a Cloud Flow sourced from the Dataverse workflow table.","properties":{"displayName":{"type":"string","description":"The display name of the flow. Identical to name when sourced from Dataverse."},"id":{"type":"string","description":"The unique identifier (workflowid GUID) of the flow."},"name":{"type":"string","description":"The display name of the flow (maps to the Dataverse workflow name attribute)."},"stateCode":{"type":"integer","description":"The state of the flow: 0=Draft/Off, 1=Activated/On, 2=Suspended."}},"type":"object"},"powerplatform:index:RuleSet":{"description":"A rule set for a DLP policy, defining data loss prevention rules.","properties":{"id":{"type":"string","description":"The unique identifier of the rule set."},"inputs":{"type":"object","additionalProperties":{"$ref":"pulumi.json#/Any"},"description":"The inputs for the rule set, which may vary based on the rule."},"version":{"type":"string","description":"The version of the rule set."}},"type":"object"},"powerplatform:index:TenantCatalogSettings":{"description":"Catalog settings.","properties":{"powerCatalogAudienceSetting":{"type":"string","description":"Power Catalog audience setting."}},"type":"object"},"powerplatform:index:TenantChampionsSettings":{"description":"Champions settings.","properties":{"disableChampionsInvitationReachout":{"type":"boolean","description":"Disable champions invitation reachout."},"disableSkillsMatchInvitationReachout":{"type":"boolean","description":"Disable skills match invitation reachout."}},"type":"object"},"powerplatform:index:TenantEnvironmentsSettings":{"description":"Environment settings.","properties":{"disablePreferredDataLocationForTeamsEnvironment":{"type":"boolean","description":"Disable preferred data location for Teams environment creation."}},"type":"object"},"powerplatform:index:TenantGovernancePolicySettings":{"description":"Governance policy settings.","properties":{"enableDesktopFlowDataPolicyManagement":{"type":"boolean","description":"Enable desktop flow data policy management."}},"type":"object"},"powerplatform:index:TenantGovernanceSettings":{"description":"Governance settings.","properties":{"disableAdminDigest":{"type":"boolean","description":"Disable admin digest."},"disableDeveloperEnvironmentCreationByNonAdminUsers":{"type":"boolean","description":"Disable developer environment creation by non-admin users."},"enableDefaultEnvironmentRouting":{"type":"boolean","description":"Enable default environment routing."},"environmentRoutingAllMakers":{"type":"boolean","description":"Route all makers to personal dev environments."},"environmentRoutingTargetEnvironmentGroupId":{"type":"string","description":"Target environment group for default environment routing."},"environmentRoutingTargetSecurityGroupId":{"type":"string","description":"Target security group for default environment routing."},"policy":{"$ref":"#/types/powerplatform:index:TenantGovernancePolicySettings","description":"Governance policy settings."}},"type":"object"},"powerplatform:index:TenantIntelligenceSettings":{"description":"Intelligence settings.","properties":{"disableCopilot":{"type":"boolean","description":"Disable Copilot."},"enableOpenAiBotPublishing":{"type":"boolean","description":"Enable OpenAI bot publishing."}},"type":"object"},"powerplatform:index:TenantLicensingSettings":{"description":"Licensing settings.","properties":{"disableBillingPolicyCreationByNonAdminUsers":{"type":"boolean","description":"Disable billing policy creation by non-admin users."},"disableUseOfUnassignedAIBuilderCredits":{"type":"boolean","description":"Disable use of unassigned AI Builder credits."},"enableTenantCapacityReportForEnvironmentAdmins":{"type":"boolean","description":"Enable tenant capacity report for environment admins."},"enableTenantLicensingReportForEnvironmentAdmins":{"type":"boolean","description":"Enable tenant licensing report for environment admins."},"storageCapacityConsumptionWarningThreshold":{"type":"integer","description":"Storage capacity consumption warning threshold."}},"type":"object"},"powerplatform:index:TenantModelExperimentationSettings":{"description":"Model experimentation settings.","properties":{"disableDataLogging":{"type":"boolean","description":"Disable data logging."},"enableModelDataSharing":{"type":"boolean","description":"Enable model data sharing."}},"type":"object"},"powerplatform:index:TenantPowerAppsSettings":{"description":"Power Apps settings.","properties":{"disableConnectionSharingWithEveryone":{"type":"boolean","description":"Disable connection sharing with everyone."},"disableCreateFromFigma":{"type":"boolean","description":"Disable create from Figma."},"disableCreateFromImage":{"type":"boolean","description":"Disable create from image."},"disableMakerMatch":{"type":"boolean","description":"Disable maker match."},"disableShareWithEveryone":{"type":"boolean","description":"Disable share with everyone."},"disableUnusedLicenseAssignment":{"type":"boolean","description":"Disable unused license assignment."},"enableGuestsToMake":{"type":"boolean","description":"Enable guests to make apps."}},"type":"object"},"powerplatform:index:TenantPowerAutomateSettings":{"description":"Power Automate settings.","properties":{"disableCopilot":{"type":"boolean","description":"Disable Copilot for Power Automate."}},"type":"object"},"powerplatform:index:TenantPowerPagesSettings":{"description":"Power Pages settings.","type":"object"},"powerplatform:index:TenantPowerPlatformSettings":{"description":"Power Platform workload settings at tenant scope.","properties":{"catalogSettings":{"$ref":"#/types/powerplatform:index:TenantCatalogSettings","description":"Catalog settings."},"champions":{"$ref":"#/types/powerplatform:index:TenantChampionsSettings","description":"Champions settings."},"environments":{"$ref":"#/types/powerplatform:index:TenantEnvironmentsSettings","description":"Environment settings."},"governance":{"$ref":"#/types/powerplatform:index:TenantGovernanceSettings","description":"Governance settings."},"intelligence":{"$ref":"#/types/powerplatform:index:TenantIntelligenceSettings","description":"Intelligence settings."},"licensing":{"$ref":"#/types/powerplatform:index:TenantLicensingSettings","description":"Licensing settings."},"modelExperimentation":{"$ref":"#/types/powerplatform:index:TenantModelExperimentationSettings","description":"Model experimentation settings."},"powerApps":{"$ref":"#/types/powerplatform:index:TenantPowerAppsSettings","description":"Power Apps settings."},"powerAutomate":{"$ref":"#/types/powerplatform:index:TenantPowerAutomateSettings","description":"Power Automate settings."},"powerPages":{"$ref":"#/types/powerplatform:index:TenantPowerPagesSettings","description":"Power Pages settings."},"search":{"$ref":"#/types/powerplatform:index:TenantSearchSettings","description":"Search settings."},"teamsIntegration":{"$ref":"#/types/powerplatform:index:TenantTeamsIntegrationSettings","description":"Teams integration settings."},"userManagementSettings":{"$ref":"#/types/powerplatform:index:TenantUserManagementSettings","description":"User management settings."}},"type":"object"},"powerplatform:index:TenantSearchSettings":{"description":"Search settings.","properties":{"disableBingVideoSearch":{"type":"boolean","description":"Disable Bing video search."},"disableCommunitySearch":{"type":"boolean","description":"Disable community search."},"disableDocsSearch":{"type":"boolean","description":"Disable docs search."}},"type":"object"},"powerplatform:index:TenantTeamsIntegrationSettings":{"description":"Teams integration settings.","properties":{"shareWithColleaguesUserLimit":{"type":"integer","description":"Share with colleagues user limit."}},"type":"object"},"powerplatform:index:TenantUserManagementSettings":{"description":"User management settings.","properties":{"enableDeleteDisabledUserInAllEnvironments":{"type":"boolean","description":"Enable delete disabled user in all environments."}},"type":"object"}},"provider":{},"resources":{"powerplatform:index:AdminManagementApplication":{"description":"Registers a service principal as a Power Platform admin management application. This is a prerequisite for managing environment application administrators. The resource is fully immutable — any change to applicationId triggers a replacement.","properties":{"applicationId":{"type":"string","description":"The GUID of the registered service principal."}},"required":["applicationId"],"inputProperties":{"applicationId":{"type":"string","description":"The GUID of the service principal to register as a Power Platform admin management application. Immutable after creation.","replaceOnChanges":true}},"requiredInputs":["applicationId"]},"powerplatform:index:BillingPolicy":{"description":"Manages a Power Platform billing policy. Billing policies control pay-as-you-go billing for Power Platform environments.","properties":{"billingInstrument":{"$ref":"#/types/powerplatform:index:BillingInstrument","description":"The billing instrument details."},"createdOn":{"type":"string","description":"The timestamp when the billing policy was created."},"lastModifiedOn":{"type":"string","description":"The timestamp when the billing policy was last modified."},"location":{"type":"string","description":"The geographic location of the billing policy."},"name":{"type":"string","description":"The name of the billing policy."},"status":{"type":"string","description":"The status of the billing policy."}},"required":["name","location"],"inputProperties":{"billingInstrument":{"$ref":"#/types/powerplatform:index:BillingInstrument","description":"The billing instrument (Azure subscription) details."},"location":{"type":"string","description":"The geographic location for the billing policy (e.g., unitedstates, europe)."},"name":{"type":"string","description":"The name of the billing policy."},"status":{"type":"string","description":"The status of the billing policy: Enabled or Disabled."}},"requiredInputs":["name","location"]},"powerplatform:index:DataRecord":{"description":"Manages a generic Dataverse table record via the OData Web API. Supports scalar columns, single-valued lookups (via @odata.bind), and many-to-many relationships (via $ref). Both environmentId and tableLogicalName are immutable — any change triggers resource replacement. Column values may be scalars (string/number/bool), lookup objects (DataRecordLookup), or lists of lookup objects for M2M relationships.","properties":{"columns":{"type":"object","additionalProperties":{"$ref":"pulumi.json#/Any"},"description":"The column values stored on the record."},"dataRecordId":{"type":"string","description":"The GUID of the Dataverse record. Use this to reference the record in lookup or M2M column values of other DataRecord resources."},"disableOnDestroy":{"type":"boolean","description":"Whether to deactivate the record before deletion."},"environmentId":{"type":"string","description":"The GUID of the Power Platform environment."},"tableLogicalName":{"type":"string","description":"The logical name of the Dataverse table."}},"required":["environmentId","tableLogicalName","dataRecordId"],"inputProperties":{"columns":{"type":"object","additionalProperties":{"$ref":"pulumi.json#/Any"},"description":"Map of column logical name to value. Scalars (string/number/bool), null, DataRecordLookup objects, or lists of DataRecordLookup objects for M2M relationships."},"disableOnDestroy":{"type":"boolean","description":"When true, deactivate the record (statecode=1) before deleting it. Required for Dataverse tables that cannot be directly deleted while active (e.g. workflow definitions). Defaults to false."},"environmentId":{"type":"string","description":"The GUID of the Power Platform environment containing the Dataverse instance. Immutable after creation.","replaceOnChanges":true},"tableLogicalName":{"type":"string","description":"The logical name of the Dataverse table (e.g. deploymentpipeline, account). Immutable after creation.","replaceOnChanges":true}},"requiredInputs":["environmentId","tableLogicalName"]},"powerplatform:index:DlpPolicy":{"description":"Manages a Power Platform Data Loss Prevention (DLP) policy. DLP policies define rules to control how connectors can share data. Note: Deletion removes all rule sets from the policy, as the SDK does not expose a direct policy delete endpoint.","properties":{"lastModified":{"type":"string","description":"The timestamp when the policy was last modified."},"name":{"type":"string","description":"The name of the DLP policy."},"ruleSetCount":{"type":"integer","description":"The number of rule sets in the policy."},"ruleSets":{"type":"array","items":{"$ref":"#/types/powerplatform:index:RuleSet"},"description":"The rule sets that define the DLP policy rules."},"tenantId":{"type":"string","description":"The tenant ID that owns the policy."}},"required":["name"],"inputProperties":{"name":{"type":"string","description":"The name of the DLP policy."},"ruleSets":{"type":"array","items":{"$ref":"#/types/powerplatform:index:RuleSet"},"description":"The rule sets that define the DLP policy rules."}},"requiredInputs":["name"]},"powerplatform:index:EnterprisePolicyLink":{"description":"Links an Azure enterprise policy to a Power Platform environment using an async POST/poll lifecycle. All properties are immutable — any change triggers a full replacement (delete-then-create). Supported policy types: NetworkInjection, Encryption, Identity.","properties":{"environmentId":{"type":"string","description":"The GUID of the Power Platform environment."},"policyType":{"type":"string","description":"The type of enterprise policy. One of: NetworkInjection, Encryption, Identity."},"systemId":{"type":"string","description":"The ARM resource ID of the linked enterprise policy."}},"required":["environmentId","policyType","systemId"],"inputProperties":{"environmentId":{"type":"string","description":"The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.","replaceOnChanges":true},"policyType":{"type":"string","description":"The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.","replaceOnChanges":true},"systemId":{"type":"string","description":"The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.","replaceOnChanges":true}},"requiredInputs":["environmentId","policyType","systemId"]},"powerplatform:index:Environment":{"description":"Manages a Power Platform environment. Environments are containers for apps, flows, data, and other resources. Uses the BAP admin REST API for lifecycle management.","properties":{"allowBingSearch":{"type":"boolean","description":"Whether Bing Search integration is allowed."},"allowMovingDataAcrossRegions":{"type":"boolean","description":"Whether data can move across geographic boundaries for Copilot features."},"azureRegion":{"type":"string","description":"Specific Azure region within the location geo."},"billingPolicyId":{"type":"string","description":"ID of the billing policy linked to this environment."},"cadence":{"type":"string","description":"Release wave cadence: Frequent or Moderate."},"createdTime":{"type":"string","description":"The timestamp when the environment was created."},"dataverse":{"$ref":"#/types/powerplatform:index:Dataverse","description":"Dataverse database configuration. Presence triggers Dataverse provisioning."},"description":{"type":"string","description":"The description of the environment."},"displayName":{"type":"string","description":"The display name of the environment."},"enterprisePolicies":{"type":"array","items":{"$ref":"#/types/powerplatform:index:EnterprisePolicy"},"description":"Enterprise policies associated with the environment."},"environmentGroupId":{"type":"string","description":"ID of the environment group."},"environmentType":{"type":"string","description":"The type (SKU) of the environment."},"lastModifiedTime":{"type":"string","description":"The timestamp when the environment was last modified."},"linkedAppId":{"type":"string","description":"GUID of the linked app."},"linkedAppType":{"type":"string","description":"Type of linked app: Canvas or ModelDriven."},"linkedAppUrl":{"type":"string","description":"URL of the linked app. Computed."},"location":{"type":"string","description":"The geographic region of the environment."},"ownerId":{"type":"string","description":"AAD user or group GUID who owns the environment."},"state":{"type":"string","description":"The current state of the environment (e.g., Ready, Preparing)."}},"required":["displayName","location","environmentType"],"inputProperties":{"allowBingSearch":{"type":"boolean","description":"Allow Bing Search integration (AI generative features)."},"allowMovingDataAcrossRegions":{"type":"boolean","description":"Allow data to move across geographic boundaries for Copilot features."},"azureRegion":{"type":"string","description":"Specific Azure region within the location geo (e.g. westus2). Immutable after creation."},"billingPolicyId":{"type":"string","description":"ID of the billing policy to link to this environment."},"cadence":{"type":"string","description":"Release wave cadence: Frequent or Moderate. Immutable after creation."},"dataverse":{"$ref":"#/types/powerplatform:index:Dataverse","description":"Dataverse database configuration. Presence triggers Dataverse provisioning."},"description":{"type":"string","description":"A description of the environment."},"displayName":{"type":"string","description":"The display name of the environment."},"enterprisePolicies":{"type":"array","items":{"$ref":"#/types/powerplatform:index:EnterprisePolicy"},"description":"Set of enterprise policies associated with the environment."},"environmentGroupId":{"type":"string","description":"ID of the environment group this environment belongs to."},"environmentType":{"type":"string","description":"The type (SKU) of the environment: Sandbox, Production, Trial, Developer, or Default. Immutable after creation."},"linkedAppId":{"type":"string","description":"GUID of the linked app."},"linkedAppType":{"type":"string","description":"Type of linked app: Canvas or ModelDriven."},"location":{"type":"string","description":"The geographic region for the environment (e.g., unitedstates, europe). Immutable after creation."},"ownerId":{"type":"string","description":"AAD user or group GUID who owns the environment. Only valid for Developer environments."}},"requiredInputs":["displayName","location","environmentType"]},"powerplatform:index:EnvironmentApplicationAdmin":{"description":"Adds a service principal as System Administrator in a Dataverse-enabled Power Platform environment. Creates a systemuser record via the Dataverse Web API. Both environmentId and applicationId are immutable — any change triggers resource replacement.","properties":{"applicationId":{"type":"string","description":"The GUID of the registered service principal."},"environmentId":{"type":"string","description":"The GUID of the Power Platform environment."},"systemUserId":{"type":"string","description":"The Dataverse systemuser record GUID for the registered application user."}},"required":["environmentId","applicationId","systemUserId"],"inputProperties":{"applicationId":{"type":"string","description":"The GUID of the service principal (application) to add as System Administrator. Immutable after creation.","replaceOnChanges":true},"environmentId":{"type":"string","description":"The GUID of the Power Platform environment. Must have a Dataverse instance. Immutable after creation.","replaceOnChanges":true}},"requiredInputs":["environmentId","applicationId"]},"powerplatform:index:EnvironmentBackup":{"description":"Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.","properties":{"backupExpiryDateTime":{"type":"string","description":"The date and time when the backup expires."},"backupPointDateTime":{"type":"string","description":"The date and time when the backup was created."},"environmentId":{"type":"string","description":"The ID of the backed-up environment."},"label":{"type":"string","description":"The label for the backup."}},"required":["environmentId","label"],"inputProperties":{"environmentId":{"type":"string","description":"The ID of the environment to back up."},"label":{"type":"string","description":"A descriptive label for the backup."}},"requiredInputs":["environmentId","label"]},"powerplatform:index:EnvironmentGroup":{"description":"Manages a Power Platform environment group. Environment groups allow you to organize environments and apply policies at a group level.","properties":{"createdTime":{"type":"string","description":"The timestamp when the group was created."},"description":{"type":"string","description":"The description of the environment group."},"displayName":{"type":"string","description":"The display name of the environment group."},"lastModifiedTime":{"type":"string","description":"The timestamp when the group was last modified."},"parentGroupId":{"type":"string","description":"The ID of the parent environment group."}},"required":["displayName"],"inputProperties":{"description":{"type":"string","description":"A description of the environment group."},"displayName":{"type":"string","description":"The display name for the environment group."},"parentGroupId":{"type":"string","description":"The ID of the parent environment group, if this is a nested group."}},"requiredInputs":["displayName"]},"powerplatform:index:EnvironmentSettings":{"description":"Manages settings on a Power Platform environment. Settings are applied via PATCH to the BAP admin API. Deletion removes the resource from Pulumi state only (settings cannot be unset).","properties":{"allowApplicationUserAccess":{"type":"boolean","description":"Whether service principal (application user) access is allowed."},"allowMicrosoftTrustedServiceTags":{"type":"boolean","description":"Whether Microsoft trusted Azure service tags are allowed."},"auditRetentionPeriodInDays":{"type":"integer","description":"Audit log retention period in days."},"environmentId":{"type":"string","description":"The ID of the environment."},"isActivityLoggingEnabled":{"type":"string","description":"Whether activity logging is enabled."},"isAuditEnabled":{"type":"string","description":"Whether auditing is enabled."},"isReadAuditEnabled":{"type":"boolean","description":"Whether read auditing is enabled."},"isUserAccessAuditEnabled":{"type":"string","description":"Whether user access auditing is enabled."},"maxUploadFileSize":{"type":"string","description":"Maximum file upload size in bytes."},"pluginTraceLogSetting":{"type":"string","description":"Plugin trace log setting."},"powerAppsComponentFrameworkForCanvasApps":{"type":"boolean","description":"Whether PCF controls are enabled for canvas apps."},"reverseProxyIpAddresses":{"type":"string","description":"Allowed reverse proxy IP addresses or CIDR ranges."},"showDashboardCardsInExpandedState":{"type":"boolean","description":"Whether dashboard cards are shown in expanded state by default."}},"required":["environmentId"],"inputProperties":{"allowApplicationUserAccess":{"type":"boolean","description":"Whether service principal (application user) access is allowed."},"allowMicrosoftTrustedServiceTags":{"type":"boolean","description":"Whether Microsoft trusted Azure service tags are allowed for connectivity."},"auditRetentionPeriodInDays":{"type":"integer","description":"Audit log retention period in days. Use -1 for forever, or a value between 31 and 24855."},"environmentId":{"type":"string","description":"The ID of the environment to manage settings for. Immutable after creation."},"isActivityLoggingEnabled":{"type":"string","description":"Whether activity logging is enabled (true or false)."},"isAuditEnabled":{"type":"string","description":"Whether auditing is enabled (true or false)."},"isReadAuditEnabled":{"type":"boolean","description":"Whether read auditing is enabled (GDPR). Managed via Dataverse organizations table."},"isUserAccessAuditEnabled":{"type":"string","description":"Whether user access auditing is enabled (true or false)."},"maxUploadFileSize":{"type":"string","description":"Maximum file upload size in bytes."},"pluginTraceLogSetting":{"type":"string","description":"Plugin trace log setting (Off, Exception, All)."},"powerAppsComponentFrameworkForCanvasApps":{"type":"boolean","description":"Whether Power Apps Component Framework (PCF) controls are enabled for canvas apps."},"reverseProxyIpAddresses":{"type":"string","description":"Comma-separated list of allowed reverse proxy IP addresses or CIDR ranges."},"showDashboardCardsInExpandedState":{"type":"boolean","description":"Whether dashboard cards are shown in expanded state by default."}},"requiredInputs":["environmentId"]},"powerplatform:index:IsvContract":{"description":"Manages an ISV (Independent Software Vendor) contract for Power Platform licensing.","properties":{"createdOn":{"type":"string","description":"The timestamp when the ISV contract was created."},"geo":{"type":"string","description":"The geographic region of the ISV contract."},"lastModifiedOn":{"type":"string","description":"The timestamp when the ISV contract was last modified."},"name":{"type":"string","description":"The name of the ISV contract."},"status":{"type":"string","description":"The status of the ISV contract."}},"required":["name","geo"],"inputProperties":{"geo":{"type":"string","description":"The geographic region for the ISV contract (e.g., unitedstates, europe). Immutable after creation."},"name":{"type":"string","description":"The name of the ISV contract."},"status":{"type":"string","description":"The status of the ISV contract: Enabled or Disabled."}},"requiredInputs":["name","geo"]},"powerplatform:index:ManagedEnvironment":{"description":"Enables managed environment governance on a Power Platform environment. Managed environments provide enhanced admin controls. Deleting this resource disables the managed environment setting.","properties":{"enabled":{"type":"boolean","description":"Whether the managed environment is enabled."},"environmentId":{"type":"string","description":"The ID of the managed environment."}},"required":["environmentId","enabled"],"inputProperties":{"environmentId":{"type":"string","description":"The ID of the Power Platform environment to manage."}},"requiredInputs":["environmentId"]},"powerplatform:index:RoleAssignment":{"description":"Assigns a role to a principal (user, group, or service principal) at a specified scope. Role assignments are immutable — any change to inputs triggers replacement.","properties":{"createdOn":{"type":"string","description":"The timestamp when the role assignment was created."},"principalObjectId":{"type":"string","description":"The object ID of the assigned principal."},"principalType":{"type":"string","description":"The type of the assigned principal."},"roleDefinitionId":{"type":"string","description":"The role definition ID."},"scope":{"type":"string","description":"The scope of the role assignment."}},"required":["principalObjectId","principalType","roleDefinitionId"],"inputProperties":{"principalObjectId":{"type":"string","description":"The object ID of the principal (user, group, or service principal) to assign the role to."},"principalType":{"type":"string","description":"The type of the principal: User, Group, or ServicePrincipal."},"roleDefinitionId":{"type":"string","description":"The ID of the role definition to assign."},"scope":{"type":"string","description":"The scope of the role assignment (e.g., tenant, environment, or environment group)."}},"requiredInputs":["principalObjectId","principalType","roleDefinitionId"]},"powerplatform:index:TenantSettings":{"description":"Manages tenant-level Power Platform settings used for governance and platform-wide controls.","properties":{"disableCapacityAllocationByEnvironmentAdmins":{"type":"boolean","description":"Disable capacity allocation by environment admins."},"disableEnvironmentCreationByNonAdminUsers":{"type":"boolean","description":"Disable environment creation by non-admin users."},"disableNPSCommentsReachout":{"type":"boolean","description":"Disable NPS comments reachout."},"disableNewsletterSendout":{"type":"boolean","description":"Disable newsletter sendout."},"disablePortalsCreationByNonAdminUsers":{"type":"boolean","description":"Disable Power Pages creation by non-admin users."},"disableSupportTicketsVisibleByAllUsers":{"type":"boolean","description":"Disable support tickets visibility by all users."},"disableSurveyFeedback":{"type":"boolean","description":"Disable survey feedback."},"disableTrialEnvironmentCreationByNonAdminUsers":{"type":"boolean","description":"Disable trial environment creation by non-admin users."},"powerPlatform":{"$ref":"#/types/powerplatform:index:TenantPowerPlatformSettings","description":"Nested workload-specific tenant settings."},"tenantId":{"type":"string","description":"The ID of the tenant."},"walkMeOptOut":{"type":"boolean","description":"Walk Me opt-out setting."}},"inputProperties":{"disableCapacityAllocationByEnvironmentAdmins":{"type":"boolean","description":"Disable capacity allocation by environment admins."},"disableEnvironmentCreationByNonAdminUsers":{"type":"boolean","description":"Disable environment creation by non-admin users."},"disableNPSCommentsReachout":{"type":"boolean","description":"Disable NPS comments reachout."},"disableNewsletterSendout":{"type":"boolean","description":"Disable newsletter sendout."},"disablePortalsCreationByNonAdminUsers":{"type":"boolean","description":"Disable Power Pages creation by non-admin users."},"disableSupportTicketsVisibleByAllUsers":{"type":"boolean","description":"Disable support tickets visibility by all users."},"disableSurveyFeedback":{"type":"boolean","description":"Disable survey feedback."},"disableTrialEnvironmentCreationByNonAdminUsers":{"type":"boolean","description":"Disable trial environment creation by non-admin users."},"powerPlatform":{"$ref":"#/types/powerplatform:index:TenantPowerPlatformSettings","description":"Nested workload-specific tenant settings."},"walkMeOptOut":{"type":"boolean","description":"Walk Me opt-out setting."}}}},"functions":{"powerplatform:index:getApps":{"description":"Lists Power Apps in a Power Platform environment.","inputs":{"properties":{"environmentId":{"type":"string","description":"The ID of the environment to list apps for."}},"required":["environmentId"]},"outputs":{"properties":{"apps":{"description":"The list of Power Apps.","items":{"$ref":"#/types/powerplatform:index:AppSummary"},"type":"array"}},"required":["apps"]}},"powerplatform:index:getConnectors":{"description":"Lists connectors available in a Power Platform environment.","inputs":{"properties":{"environmentId":{"type":"string","description":"The ID of the environment to list connectors for."}},"required":["environmentId"]},"outputs":{"properties":{"connectors":{"description":"The list of connectors.","items":{"$ref":"#/types/powerplatform:index:ConnectorSummary"},"type":"array"}},"required":["connectors"]}},"powerplatform:index:getDataRecords":{"description":"Queries Dataverse records from a collection using OData filter, select, orderby, top, apply, and expand parameters. Returns the first page of matching records. Use the 'top' parameter to control result count for large tables.","inputs":{"properties":{"apply":{"type":"string","description":"OData $apply aggregation expression (e.g. \"aggregate(revenue with sum as revenue_sum)\")."},"entityCollection":{"type":"string","description":"The plural OData collection name for the Dataverse table to query (e.g. accounts, deploymentpipelines)."},"environmentId":{"type":"string","description":"The GUID of the Power Platform environment containing the Dataverse instance."},"expand":{"type":"array","items":{"$ref":"#/types/powerplatform:index:DataRecordsExpandParam"},"description":"List of navigation properties to expand in the response."},"filter":{"type":"string","description":"OData $filter expression (e.g. \"name eq 'My Pipeline'\")."},"orderby":{"type":"string","description":"OData $orderby expression (e.g. \"createdon desc\")."},"select":{"type":"array","items":{"type":"string"},"description":"List of column logical names to include in the response."},"top":{"type":"integer","description":"Maximum number of records to return ($top). Use to limit large result sets."}},"required":["environmentId","entityCollection"]},"outputs":{"properties":{"records":{"description":"The list of matching Dataverse records. Each record is a map of column name to value.","items":{"$ref":"pulumi.json#/Any"},"type":"array"},"totalRowsCount":{"description":"Total number of records matching the query filter (from @odata.count). Always 0 when the count annotation is absent or when `apply` is used (the count is not available in aggregation mode).","type":"integer"},"totalRowsCountLimitExceeded":{"description":"True when the total row count exceeded the Dataverse limit (@Microsoft.Dynamics.CRM.totalrecordcountlimitexceeded).","type":"boolean"}},"required":["records","totalRowsCount","totalRowsCountLimitExceeded"]}},"powerplatform:index:getEnvironments":{"description":"Retrieves a list of Power Platform environments available for the authenticated user.","inputs":{"properties":{"filter":{"type":"string","description":"An OData filter expression. Supported properties: dataverseId, type, geo, state, environmentGroupId, domainName."},"top":{"type":"integer","description":"Maximum number of environments to return."}}},"outputs":{"properties":{"environments":{"description":"The list of environments.","items":{"$ref":"#/types/powerplatform:index:EnvironmentSummary"},"type":"array"}},"required":["environments"]}},"powerplatform:index:getFlows":{"description":"Lists Cloud Flows in a Power Platform environment by querying the Dataverse workflow table (category=5). This approach works with service principal credentials and does not require a per-user Power Automate license. Returns the first page of results; use the 'top' parameter to control page size. Note: the service principal must be an Application User with read access to the workflow entity in Dataverse, and will see all flows visible to that principal (not a user-scoped view).","inputs":{"properties":{"environmentId":{"type":"string","description":"The ID of the environment to list flows for."},"filter":{"type":"string","description":"Additional OData $filter clause appended to the base 'category eq 5' filter with 'and'. Example: \"statecode eq 1\" to return only active flows."},"select":{"type":"array","items":{"type":"string"},"description":"Additional Dataverse workflow columns to include in the response, merged with the required columns (workflowid, name, statecode)."},"top":{"type":"integer","description":"Maximum number of flows to return ($top). Use to limit large result sets."}},"required":["environmentId"]},"outputs":{"properties":{"flows":{"description":"The list of Cloud Flows.","items":{"$ref":"#/types/powerplatform:index:FlowSummary"},"type":"array"},"totalRowsCount":{"description":"Total number of flows matching the query filter (from @odata.count). Zero when the count annotation is absent.","type":"integer"},"totalRowsCountLimitExceeded":{"description":"True when the total row count exceeded the Dataverse limit (@Microsoft.Dynamics.CRM.totalrecordcountlimitexceeded).","type":"boolean"}},"required":["flows","totalRowsCount","totalRowsCountLimitExceeded"]}}}}