Microsoft.PowerApps.Administration.PowerShell

2.0.180

PowerShell interface for Microsoft PowerApps and Flow Administrative features

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Microsoft.PowerApps.Administration.PowerShell

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft Common Data Service Team

Copyright

© 2020 Microsoft Corporation. All rights reserved

Package Details

Owners

Functions

New-AdminPowerAppCdsDatabase Get-AdminPowerAppCdsDatabaseLanguages Get-AdminPowerAppCdsDatabaseCurrencies Get-AdminPowerAppEnvironmentLocations Get-AdminPowerAppCdsDatabaseTemplates New-AdminPowerAppEnvironment Set-AdminPowerAppEnvironmentDisplayName Set-AdminPowerAppEnvironmentCopilotSettings Set-AdminPowerAppEnvironmentBackupRetentionPeriod Set-AdminPowerAppEnvironmentRuntimeState Set-AdminPowerAppEnvironmentGovernanceConfiguration Get-AdminPowerAppEnvironment Get-AdminPowerAppSoftDeletedEnvironment Get-AdminPowerAppOperationStatus Remove-AdminPowerAppEnvironment Recover-AdminPowerAppEnvironment Reset-PowerAppEnvironment Get-AdminPowerAppEnvironmentRoleAssignment Set-AdminPowerAppEnvironmentRoleAssignment Remove-AdminPowerAppEnvironmentRoleAssignment Get-AdminPowerApp Remove-AdminPowerApp Get-AdminPowerAppRoleAssignment Remove-AdminPowerAppRoleAssignment Set-AdminPowerAppRoleAssignment Set-AdminPowerAppOwner Get-AdminFlow Add-PowerAppsCustomBrandingAssets Enable-AdminFlow Disable-AdminFlow Remove-AdminFlow Restore-AdminFlow Remove-AdminFlowApprovals Set-AdminFlowOwnerRole Remove-AdminFlowOwnerRole Get-AdminFlowOwnerRole Get-AdminPowerAppConnector Get-AdminFlowEnvironmentCmkStatus Get-DesktopFlowModules Add-AdminFlowsToSolution Add-AdminFlowPowerAppContext Remove-AdminFlowPowerAppContext Get-AdminFlowAtRiskOfSuspension Get-AdminPowerAppConnectorAction Get-AdminPowerAppConnectorRoleAssignment Set-AdminPowerAppConnectorRoleAssignment Remove-AdminPowerAppConnectorRoleAssignment Get-AdminGenerateDataverseEnforceReport Remove-AdminPowerAppConnector Get-AdminPowerAppConnection Remove-AdminPowerAppConnection Get-AdminPowerAppConnectionRoleAssignment Set-AdminPowerAppConnectionRoleAssignment Remove-AdminPowerAppConnectionRoleAssignment Get-AdminPowerAppsUserDetails Get-AdminFlowUserDetails Remove-AdminFlowUserDetails Set-AdminPowerAppAsFeatured Clear-AdminPowerAppAsFeatured Set-AdminPowerAppAsHero Clear-AdminPowerAppAsHero Set-AppAsUnquarantined Set-AppAsQuarantined Get-AppQuarantineState Set-AdminPowerAppApisToBypassConsent Clear-AdminPowerAppApisToBypassConsent Get-AdminPowerAppConditionalAccessAuthenticationContextIds Set-AdminPowerAppConditionalAccessAuthenticationContextIds Remove-AdminPowerAppConditionalAccessAuthenticationContextIds Get-AdminDlpPolicy New-AdminDlpPolicy Remove-AdminDlpPolicy Set-AdminDlpPolicy Add-ConnectorToBusinessDataGroup Remove-ConnectorFromBusinessDataGroup Get-AdminPowerAppConnectionReferences Add-CustomConnectorToPolicy Add-ConnectorsToPolicy Remove-CustomConnectorFromPolicy Remove-LegacyCDSDatabase Get-AdminDeletedPowerAppsList Get-AdminRecoverDeletedPowerApp Add-AdminAllowedThirdPartyApps Get-AdminAllowedThirdPartyApps Remove-AdminAllowedThirdPartyApps Select-CurrentEnvironment Add-PowerAppsAccount Remove-PowerAppsAccount Test-PowerAppsAccount Get-TenantDetailsFromGraph Get-UsersOrGroupsFromGraph Get-JwtToken ReplaceMacro Set-TenantSettings Get-TenantSettings Get-AdminPowerAppTenantConsumedQuota InvokeApi InvokeApiNoParseContent Add-AdminPowerAppsSyncUser Remove-AllowedConsentPlans Add-AllowedConsentPlans Get-AllowedConsentPlans Get-AdminPowerAppCdsAdditionalNotificationEmails Set-AdminPowerAppCdsAdditionalNotificationEmails Get-AdminPowerAppLicenses Set-AdminPowerAppDesiredLogicalName Get-DlpPolicy New-DlpPolicy Remove-DlpPolicy Set-DlpPolicy Get-PowerAppTenantUrlPatterns New-PowerAppTenantUrlPatterns Remove-PowerAppTenantUrlPatterns Get-PowerAppPolicyUrlPatterns New-PowerAppPolicyUrlPatterns Remove-PowerAppPolicyUrlPatterns Get-PowerAppDlpPolicyConnectorConfigurations New-PowerAppDlpPolicyConnectorConfigurations Remove-PowerAppDlpPolicyConnectorConfigurations Set-PowerAppDlpPolicyConnectorConfigurations Copy-PowerAppEnvironment Backup-PowerAppEnvironment Get-PowerAppEnvironmentBackups Restore-PowerAppEnvironment Remove-PowerAppEnvironmentBackup Get-PowerAppManagementApp Get-PowerAppManagementApps New-PowerAppManagementApp Remove-PowerAppManagementApp Get-AdminPowerAppSharepointFormEnvironment Set-AdminPowerAppSharepointFormEnvironment Reset-AdminPowerAppSharepointFormEnvironment Get-PowerAppGenerateProtectionKey Get-PowerAppRetrieveTenantProtectionKey Get-PowerAppRetrieveAvailableTenantProtectionKeys New-PowerAppImportProtectionKey Set-PowerAppProtectionStatus Set-PowerAppTenantProtectionKey Set-PowerAppLockAllEnvironments Set-PowerAppUnlockEnvironment Get-PowerAppTenantIsolationPolicy Set-PowerAppTenantIsolationPolicy Get-PowerAppTenantIsolationOperationStatus Get-PowerAppDlpErrorSettings New-PowerAppDlpErrorSettings Set-PowerAppDlpErrorSettings Remove-PowerAppDlpErrorSettings Get-GovernanceErrorSettings New-GovernanceErrorSettings Set-GovernanceErrorSettings Remove-GovernanceErrorSettings Get-PowerAppDlpPolicyExemptResources New-PowerAppDlpPolicyExemptResources Remove-PowerAppDlpPolicyExemptResources Set-PowerAppDlpPolicyExemptResources Get-AdminVirtualConnectors Start-DLPEnforcementOnConnectionsInTenant Start-DLPEnforcementOnConnectionsInEnvironment Get-PowerAppDlpConnectorBlockingPolicies Get-PowerAppDlpConnectorBlockingPolicy New-PowerAppDlpConnectorBlockingPolicy Set-PowerAppDlpConnectorBlockingPolicy Remove-PowerAppDlpConnectorBlockingPolicy

Dependencies

This module has no dependencies.

Release Notes



Current Release:
2.0.180
   Add support for migrating non-solution flows to solution as admin.
       Add-AdminFlowsToSolution
   Support 'CreatedBy' filter which was removed in 2.0.166. We can support this filter now as backend API has been fixed to return the CreatedBy metadata.

2.0.166
   Update Get-AdminFlow to use v2 route for fetching flows. This v2 route returns less information about flows.
   Response will contain the following flow properties: Id, display name, created time, last modified time, state and workflow entity Id.
   BREAKING CHANGE: Removed support for 'CreatedBy' filter as v2 route does not return the creator of the flow.

2.0.165
   Add support for setting the background operations state on an environment.
       Set-AdminPowerAppEnvironmentRuntimeState

2.0.163
   Fix polling support in Set-AdminPowerAppEnvironmentRuntimeState
       Set-AdminPowerAppEnvironmentRuntimeState        

2.0.157
   Added new Apis to get environment cmk status in PowerAutomate.
       Get-AdminFlowEnvironmentCmkStatus

2.0.156
   Add support for setting backup retention period on an environment.
       Set-AdminPowerAppEnvironmentBackupRetentionPeriod

2.0.155
   Add flow at risk of suspension function.
       Get-AdminFlowAtRiskOfSuspension

2.0.155
   Add support for Developer environment provisioning and TemplateMetadata parameter for Dataverse provisioning.

2.0.154
   Update license uri link

2.0.153
Add new governance error settings functions
Get-GovernanceErrorSettings
New-GovernanceErrorSettings
Set-GovernanceErrorSettings
Remove-GovernanceErrorSettingss
PowerAppDlpErrorSettings will be deprecated in a future version.

2.0.150
   Remove warning from Set-AdminPowerAppEnvironmentGovernanceConfiguration

2.0.148
   Added new Apis for associate PowerApps to Flow as the billing context.
       Add-AdminFlowPowerAppContext,
       Remove-AdminFlowPowerAppContext

2.0.148
   Update Set-AdminPowerAppEnvironmentGovernanceConfiguration route and request body

2.0.147
   Update Get-AdminFlow to support listing soft-deleted flows

2.0.146
   Add a new cmdlet for admins to restore a deleted flow
       Restore-AdminFlow

2.0.143
   Added a new cmdlet to update the governance configuration (such as protection level) on a given environment
       Set-AdminPowerAppEnvironmentGovernanceConfiguration

2.0.142
   Added new cmdlets that allow admins to opt-in to DLP-for-DesktopFlow experience
       Get-DesktopFlowModules
       Add-ConnectorsToPolicy

2.0.139
   Added payload validation to the following APIs
       New-PowerAppDlpConnectorBlockingPolicy
       Set-PowerAppDlpConnectorBlockingPolicy

2.0.114
   Added new Apis for Connector blocking Policy
       Get-PowerAppDlpConnectorBlockingPolicies,
       Get-PowerAppDlpConnectorBlockingPolicy,
       New-PowerAppDlpConnectorBlockingPolicy,
       Set-PowerAppDlpConnectorBlockingPolicy,
       Remove-PowerAppDlpConnectorBlockingPolicy

2.0.113
   Add Set-AdminPowerAppDesiredLogicalName to enable setting desired logical name for non-solution aware canvas apps

2.0.112
   Add virtual connector call
   Get-AdminVirtualConnectors

2.0.111:
   Added new APIS for DLP Policy Exempt Resources APIs
       Get-PowerAppDlpPolicyExemptResources,
       New-PowerAppDlpPolicyExemptResources,
       Remove-PowerAppDlpPolicyExemptResources,
       Set-PowerAppDlpPolicyExemptResources    

2.0.110:
   Add Teams environment in New-AdminPowerAppEnvironment and add EnvironmentSku filter in Get-AdminPowerAppEnvironment
   
2.0.109:
   Add support for AzureRegion selection in New-AdminPowerAppEnvironment
   Added new APIs for error settings DLP:
       Get-PowerAppDlpErrorSettings,
       New-PowerAppDlpErrorSettings,
       Set-PowerAppDlpErrorSettings,
       Remove-PowerAppDlpErrorSettings

2.0.101:
   Revert "Add-CustomConnectorToPolicy is limited to only work for environment-level policies"

2.0.100:
   Add-CustomConnectorToPolicy is limited to only work for environment-level policies

2.0.96:
   Add tenant isolation APIs
   Skip triggers in Get-AdminPowerAppConnectorAction

2.0.92:
   Fix polling behavior on failures for environment lifecycle operations

2.0.86:
   Add Get-AdminPowerAppConnectorAction API

2.0.81:
   Add new DLP Policy Connector Configurations APIs:
       Get-PowerAppDlpPolicyConnectorConfigurations,
       New-PowerAppDlpPolicyConnectorConfigurations,
       Remove-PowerAppDlpPolicyConnectorConfigurations,
       Set-PowerAppDlpPolicyConnectorConfigurations

2.0.77:
   Add ProtectionKey APIs:
       Get-PowerAppGenerateProtectionKey,
       Get-PowerAppRetrieveTenantProtectionKey,
       Get-PowerAppRetrieveAvailableTenantProtectionKeys,
       New-PowerAppImportProtectionKey,
       Set-PowerAppProtectionStatus,
       Set-PowerAppTenantProtectionKey,
       Set-PowerAppLockAllEnvironments,
       Set-PowerAppUnlockEnvironment

2.0.76:
   Add Get-AdminPowerAppTenantConsumedQuota API and GetProtectedEnvironment parameter for Get-AdminPowerAppEnvironment

2.0.75:
   Add ManagementApp APIs:
       Get-PowerAppManagementApp,
       Get-PowerAppManagementApps,
       New-PowerAppManagementApp,
       Remove-PowerAppManagementApp

   Add Sharepoint Environment APIs:
       Get-AdminPowerAppSharepointFormEnvironment
       Set-AdminPowerAppSharepointFormEnvironment
       Reset-AdminPowerAppSharepointFormEnvironment

2.0.72:
   Fix bugs for SPN error handling

2.0.70:
   Add test automation support
   Added new APIs:
       Get-PowerAppTenantUrlPatterns,
       New-PowerAppTenantUrlPatterns,
       Remove-PowerAppTenantUrlPatterns,
       Get-PowerAppPolicyUrlPatterns,
       New-PowerAppPolicyUrlPatterns,
       Remove-PowerAppPolicyUrlPatterns

2.0.67:
   Add Set-AdminPowerAppEnvironmentRuntimeState API

2.0.66:
   Add SubscriptionBasedTrial SKU support.

2.0.65:
   Add Get-AdminPowerAppOperationStatus API for async scenario support.

2.0.64:
   Added new APIs:
       Copy-PowerAppEnvironment,
       Backup-PowerAppEnvironment,
       Get-PowerAppEnvironmentBackups,
       Restore-PowerAppEnvironment,
       Remove-PowerAppEnvironmentBackup,
       Reset-PowerAppEnvironment

2.0.63:
   Added DoD support. Fix bug PowerShell Cmdlet "Set-AdminPowerAppRoleAssignment" is broken when setting the tenant sharing.

2.0.61:
   BREAKING CHANGE: Changed return value to environment object when New-AdminPowerAppEnvironment CDS provision completed.
   Fixed empty return error bug (error code and error message will be returned when API fails).

2.0.60:
   Add TimeoutInMinutes parameter in New-AdminPowerAppEnvironment to make timeout configurable.
   BREAKING CHANGE: The default timeout is changed to a week (waiting for server timeout).
   Fixed "Cannot bind argument to parameter 'Route' because it is an empty string" exception for New-AdminPowerAppEnvironment.

2.0.59:
   Fixed removing connector from policy that had been added with an invalid connector ID.

2.0.57:
   Fixed pagination problem for Get-DlpPolicy, Get-AdminFlow, and Get-AdminPowerApp.

2.0.56:
   Fixed duplicate key error for ConvertFrom-Json with case-invariant comparison.

2.0.53:
   Added early Public Preview release of DLP (Data Loss Prevention) v2 PowerShell cmdlets

2.0.52:
   Introduced new cmdlets for admins to list and recover deleted Power Apps

2.0.45:
   Fixed missing Example sections for some incorrectly formatted cmdlet headers

2.0.44:
   Added a cmdlet to download a manifest of all user's Power Apps licenses for a tenant

2.0.42:
   Fixed cmdlet deadlock issue when long-running operations reached a timeout condition

2.0.40:
   Fixed set of codes to wait for when long-running operations were checking for status
   Fixed an incorrect error message when creating a CDS database environment failed
   Fixed defective ability to associate new DLP policies with specific environments

2.0.37:
   Fixed bug when deserializing "Common Data Service for Apps" environment information
   Introduced new cmdlets for admins to get and set additional notification emails

2.0.34:
   Added logic to skip filtered flows that could not be deserialized instead of failing
   Fixed bug that prevented paging from working properly when getting all flows as admin

2.0.33:
   Enabled creation of new environments as type Sandbox [addition to Trial and Production]

2.0.31:
   Introduced new cmdlets for admins to list and recover soft-deleted environments

2.0.27:
   Revamp cmdlets to block and allow consent plans in response to breaking service change

2.0.26:
   Fixed a handful of bugs related to parameters to create new CDS database environments

2.0.19:
   Introduced new cmdlet to get all CDS database templates so all inputs are retrievable

2.0.15:
   Introduced new cmdlet to sync licensed and authorized AAD tenant user into environment
   Fixed bugs in limited Private Preview cmdlets for DLP v1 connector Blocking [obsolete]
   Added limited Private Preview cmdlets for DLP v1 connector Blocking [obsolete]

2.0.12:
   Introduced new cmdlets to block and allow consent plans in tenant

2.0.6:
   Added support for the Verbose flag to extend to internal calls

FileList

Version History

Version Downloads Last updated
2.0.180 (current version) 92,571 2/1/2024
2.0.179 7,678 1/30/2024
2.0.178 57,058 1/10/2024
2.0.177 159,743 9/22/2023
2.0.174 49,241 8/22/2023
2.0.173 10,908 8/15/2023
2.0.170 24,325 7/27/2023
2.0.168 14,135 7/18/2023
2.0.167 10,074 7/11/2023
2.0.166 45,072 6/6/2023
2.0.165 24,879 5/16/2023
2.0.164 4,466 5/11/2023
2.0.163 2,268 5/10/2023
2.0.162 7,797 5/3/2023
2.0.160 15,520 4/19/2023
2.0.159 13,589 4/7/2023
2.0.158 1,534 4/6/2023
2.0.156 34,316 3/7/2023
2.0.155 43,139 1/20/2023
2.0.154 81,069 10/13/2022
2.0.153 13,149 9/29/2022
2.0.152 7,073 9/20/2022
2.0.150 76,541 7/6/2022
2.0.148 126,758 6/14/2022
2.0.147 44,180 5/2/2022
2.0.146 4,150 4/25/2022
2.0.145 43,139 4/11/2022
2.0.144 31,336 3/29/2022
2.0.143 948 3/28/2022
2.0.142 51,288 2/9/2022
2.0.139 2,763,114 11/2/2021
2.0.138 25,241 10/7/2021
2.0.137 305,887 9/22/2021
2.0.136 18,566 9/13/2021
2.0.135 1,401 9/10/2021
2.0.133 12,538 8/29/2021
2.0.131 11,224 8/11/2021
2.0.129 1,684 8/9/2021
2.0.128 3,636 8/4/2021
2.0.127 269,563 6/30/2021
2.0.126 50,199 6/9/2021
2.0.125 9,854 5/13/2021
2.0.123 2,249 5/7/2021
2.0.122 3,435 4/28/2021
2.0.121 1,121 4/27/2021
2.0.112 86,399 3/26/2021
2.0.110 10,074 3/9/2021
2.0.109 8,122 2/23/2021
2.0.108 79,234 1/26/2021
2.0.105 198,065 1/21/2021
2.0.104 17,731 1/12/2021
2.0.102 2,579 12/29/2020
2.0.100 3,490 12/17/2020
2.0.99 626,470 11/10/2020
2.0.98 998 11/9/2020
2.0.96 135,588 10/22/2020
2.0.92 73,312 10/15/2020
2.0.86 1,261 9/30/2020
2.0.85 62,883 9/29/2020
2.0.83 64 9/23/2020
2.0.81 12,497 9/15/2020
2.0.80 1,500 9/10/2020
2.0.77 41,393 9/1/2020
2.0.76 94,234 8/7/2020
2.0.75 1,274 8/4/2020
2.0.72 316,125 7/15/2020
2.0.70 45,286 7/14/2020
2.0.67 1,619 7/8/2020
2.0.66 71,927 6/10/2020
2.0.65 1,457 6/4/2020
2.0.64 272,454 5/27/2020
2.0.63 2,100 5/19/2020
2.0.61 198,523 5/6/2020
2.0.60 453 5/5/2020
2.0.59 2,804 4/21/2020
2.0.57 157,510 4/14/2020
2.0.56 171,911 4/1/2020
2.0.53 927 3/31/2020
2.0.52 1,821 3/27/2020
2.0.45 2,412 3/11/2020
2.0.44 664 3/6/2020
2.0.42 13,248 2/20/2020
2.0.40 402 2/18/2020
2.0.37 5,937 1/22/2020
2.0.34 857 1/15/2020
2.0.33 2,552 1/8/2020
2.0.31 653 12/22/2019
2.0.27 2,957 12/3/2019
2.0.26 19,162 11/25/2019
2.0.24 615 11/21/2019
2.0.21 3,024 10/17/2019
2.0.19 1,163 10/2/2019
2.0.15 624 9/23/2019
2.0.13 2,943 9/3/2019
2.0.12 875 9/3/2019
2.0.6 3,757 7/22/2019
2.0.4 2,311 6/1/2019
2.0.3 1,070 5/23/2019
2.0.2 2,137 5/7/2019
2.0.1 6,019 1/4/2019
Show more