Microsoft.PowerApps.Administration.PowerShell

2.0.152

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 -RequiredVersion 2.0.152

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

Owners

Functions

New-AdminPowerAppCdsDatabase Get-AdminPowerAppCdsDatabaseLanguages Get-AdminPowerAppCdsDatabaseCurrencies Get-AdminPowerAppEnvironmentLocations Get-AdminPowerAppCdsDatabaseTemplates New-AdminPowerAppEnvironment Set-AdminPowerAppEnvironmentDisplayName 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-DesktopFlowModules Add-AdminFlowPowerAppContext Remove-AdminFlowPowerAppContext Get-AdminPowerAppConnectorAction Get-AdminPowerAppConnectorRoleAssignment Set-AdminPowerAppConnectorRoleAssignment Remove-AdminPowerAppConnectorRoleAssignment 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 Get-PowerAppDlpConnectorBlockingPolicies Get-PowerAppDlpConnectorBlockingPolicy New-PowerAppDlpConnectorBlockingPolicy Set-PowerAppDlpConnectorBlockingPolicy Remove-PowerAppDlpConnectorBlockingPolicy

Dependencies

This module has no dependencies.

Release Notes



Current Release:
2.0.152
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

Version History

Version Downloads Last updated
2.0.154 41,189 10/13/2022
2.0.153 13,004 9/29/2022
2.0.152 (current version) 6,926 9/20/2022
2.0.150 74,736 7/6/2022
2.0.148 41,433 6/14/2022
2.0.147 41,089 5/2/2022
2.0.146 4,012 4/25/2022
2.0.145 19,512 4/11/2022
2.0.144 8,882 3/29/2022
2.0.143 942 3/28/2022
2.0.142 46,041 2/9/2022
2.0.139 1,680,086 11/2/2021
2.0.138 23,727 10/7/2021
2.0.137 304,905 9/22/2021
2.0.136 18,558 9/13/2021
2.0.135 823 9/10/2021
2.0.133 12,159 8/29/2021
2.0.131 10,636 8/11/2021
2.0.129 1,117 8/9/2021
2.0.128 2,154 8/4/2021
2.0.127 264,537 6/30/2021
2.0.126 36,032 6/9/2021
2.0.125 9,273 5/13/2021
2.0.123 2,106 5/7/2021
2.0.122 3,424 4/28/2021
2.0.121 540 4/27/2021
2.0.112 67,395 3/26/2021
2.0.110 8,634 3/9/2021
2.0.109 7,543 2/23/2021
2.0.108 78,368 1/26/2021
2.0.105 70,148 1/21/2021
2.0.104 15,989 1/12/2021
2.0.102 2,238 12/29/2020
2.0.100 2,273 12/17/2020
2.0.99 614,635 11/10/2020
2.0.98 484 11/9/2020
2.0.96 135,218 10/22/2020
2.0.92 72,799 10/15/2020
2.0.86 973 9/30/2020
2.0.85 61,377 9/29/2020
2.0.83 58 9/23/2020
2.0.81 11,009 9/15/2020
2.0.80 998 9/10/2020
2.0.77 40,808 9/1/2020
2.0.76 91,591 8/7/2020
2.0.75 918 8/4/2020
2.0.72 314,702 7/15/2020
2.0.70 45,258 7/14/2020
2.0.67 1,052 7/8/2020
2.0.66 69,874 6/10/2020
2.0.65 1,304 6/4/2020
2.0.64 272,436 5/27/2020
2.0.63 1,535 5/19/2020
2.0.61 196,782 5/6/2020
2.0.60 447 5/5/2020
2.0.59 2,667 4/21/2020
2.0.57 156,929 4/14/2020
2.0.56 170,442 4/1/2020
2.0.53 350 3/31/2020
2.0.52 350 3/27/2020
2.0.45 2,272 3/11/2020
2.0.44 658 3/6/2020
2.0.42 12,029 2/20/2020
2.0.40 396 2/18/2020
2.0.37 4,247 1/22/2020
2.0.34 714 1/15/2020
2.0.33 834 1/8/2020
2.0.31 647 12/22/2019
2.0.27 1,519 12/3/2019
2.0.26 18,583 11/25/2019
2.0.24 260 11/21/2019
2.0.21 3,018 10/17/2019
2.0.19 1,157 10/2/2019
2.0.15 618 9/23/2019
2.0.13 1,512 9/3/2019
2.0.12 83 9/3/2019
2.0.6 2,299 7/22/2019
2.0.4 2,304 6/1/2019
2.0.3 494 5/23/2019
2.0.2 700 5/7/2019
2.0.1 5,350 1/4/2019