Microsoft.PowerApps.Administration.PowerShell
2.0.180
PowerShell interface for Microsoft PowerApps and Flow Administrative features
Minimum PowerShell version
3.0
Installation Options
Owners
Copyright
© 2020 Microsoft Corporation. All rights reserved
Package Details
Author(s)
- Microsoft Common Data Service Team
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
- Microsoft.PowerApps.Administration.PowerShell.nuspec
- Microsoft.Identity.Client.dll
- Microsoft.PowerApps.Administration.PowerShell.cat
- Microsoft.PowerApps.Administration.PowerShell.psm1
- Microsoft.PowerApps.AuthModule.psm1
- Microsoft.PowerApps.Administration.PowerShell.psd1
- Microsoft.PowerApps.RestClientModule.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.200 | 158,905 | 10/24/2024 |
2.0.199 | 48,060 | 10/14/2024 |
2.0.198 | 32,116 | 10/3/2024 |
2.0.197 | 17,713 | 9/28/2024 |
2.0.194 | 148,033 | 8/19/2024 |
2.0.193 | 71,967 | 7/25/2024 |
2.0.192 | 29,769 | 7/11/2024 |
2.0.191 | 193,346 | 7/2/2024 |
2.0.190 | 3,101 | 7/1/2024 |
2.0.189 | 55,198 | 6/6/2024 |
2.0.188 | 78,776 | 5/22/2024 |
2.0.187 | 54,886 | 5/2/2024 |
2.0.186 | 3,057 | 5/1/2024 |
2.0.185 | 4,048 | 4/29/2024 |
2.0.182 | 10,462 | 4/25/2024 |
2.0.180 (current version) | 310,984 | 2/1/2024 |
2.0.179 | 8,075 | 1/30/2024 |
2.0.178 | 57,822 | 1/10/2024 |
2.0.177 | 163,201 | 9/22/2023 |
2.0.174 | 49,622 | 8/22/2023 |
2.0.173 | 10,916 | 8/15/2023 |
2.0.170 | 24,354 | 7/27/2023 |
2.0.168 | 14,177 | 7/18/2023 |
2.0.167 | 10,086 | 7/11/2023 |
2.0.166 | 45,511 | 6/6/2023 |
2.0.165 | 25,094 | 5/16/2023 |
2.0.164 | 4,475 | 5/11/2023 |
2.0.163 | 2,276 | 5/10/2023 |
2.0.162 | 7,803 | 5/3/2023 |
2.0.160 | 15,543 | 4/19/2023 |
2.0.159 | 14,013 | 4/7/2023 |
2.0.158 | 1,540 | 4/6/2023 |
2.0.156 | 38,402 | 3/7/2023 |
2.0.155 | 43,347 | 1/20/2023 |
2.0.154 | 82,015 | 10/13/2022 |
2.0.153 | 13,184 | 9/29/2022 |
2.0.152 | 7,080 | 9/20/2022 |
2.0.150 | 76,860 | 7/6/2022 |
2.0.148 | 196,632 | 6/14/2022 |
2.0.147 | 46,167 | 5/2/2022 |
2.0.146 | 4,163 | 4/25/2022 |
2.0.145 | 43,196 | 4/11/2022 |
2.0.144 | 58,410 | 3/29/2022 |
2.0.143 | 953 | 3/28/2022 |
2.0.142 | 52,394 | 2/9/2022 |
2.0.139 | 3,130,549 | 11/2/2021 |
2.0.138 | 25,253 | 10/7/2021 |
2.0.137 | 309,111 | 9/22/2021 |
2.0.136 | 18,573 | 9/13/2021 |
2.0.135 | 1,406 | 9/10/2021 |
2.0.133 | 12,546 | 8/29/2021 |
2.0.131 | 11,235 | 8/11/2021 |
2.0.129 | 1,689 | 8/9/2021 |
2.0.128 | 3,642 | 8/4/2021 |
2.0.127 | 270,737 | 6/30/2021 |
2.0.126 | 53,699 | 6/9/2021 |
2.0.125 | 9,859 | 5/13/2021 |
2.0.123 | 2,254 | 5/7/2021 |
2.0.122 | 3,440 | 4/28/2021 |
2.0.121 | 1,126 | 4/27/2021 |
2.0.112 | 90,700 | 3/26/2021 |
2.0.110 | 10,088 | 3/9/2021 |
2.0.109 | 8,130 | 2/23/2021 |
2.0.108 | 79,252 | 1/26/2021 |
2.0.105 | 295,859 | 1/21/2021 |
2.0.104 | 18,143 | 1/12/2021 |
2.0.102 | 2,723 | 12/29/2020 |
2.0.100 | 3,498 | 12/17/2020 |
2.0.99 | 627,592 | 11/10/2020 |
2.0.98 | 1,003 | 11/9/2020 |
2.0.96 | 135,595 | 10/22/2020 |
2.0.92 | 73,420 | 10/15/2020 |
2.0.86 | 1,317 | 9/30/2020 |
2.0.85 | 62,891 | 9/29/2020 |
2.0.83 | 69 | 9/23/2020 |
2.0.81 | 12,505 | 9/15/2020 |
2.0.80 | 1,507 | 9/10/2020 |
2.0.77 | 41,401 | 9/1/2020 |
2.0.76 | 94,841 | 8/7/2020 |
2.0.75 | 1,280 | 8/4/2020 |
2.0.72 | 316,138 | 7/15/2020 |
2.0.70 | 45,302 | 7/14/2020 |
2.0.67 | 1,624 | 7/8/2020 |
2.0.66 | 73,656 | 6/10/2020 |
2.0.65 | 1,462 | 6/4/2020 |
2.0.64 | 272,461 | 5/27/2020 |
2.0.63 | 2,105 | 5/19/2020 |
2.0.61 | 199,195 | 5/6/2020 |
2.0.60 | 460 | 5/5/2020 |
2.0.59 | 2,809 | 4/21/2020 |
2.0.57 | 157,518 | 4/14/2020 |
2.0.56 | 171,919 | 4/1/2020 |
2.0.53 | 933 | 3/31/2020 |
2.0.52 | 1,827 | 3/27/2020 |
2.0.45 | 2,417 | 3/11/2020 |
2.0.44 | 669 | 3/6/2020 |
2.0.42 | 13,260 | 2/20/2020 |
2.0.40 | 407 | 2/18/2020 |
2.0.37 | 5,943 | 1/22/2020 |
2.0.34 | 862 | 1/15/2020 |
2.0.33 | 2,558 | 1/8/2020 |
2.0.31 | 658 | 12/22/2019 |
2.0.27 | 2,980 | 12/3/2019 |
2.0.26 | 19,170 | 11/25/2019 |
2.0.24 | 620 | 11/21/2019 |
2.0.21 | 3,029 | 10/17/2019 |
2.0.19 | 1,168 | 10/2/2019 |
2.0.15 | 629 | 9/23/2019 |
2.0.13 | 2,950 | 9/3/2019 |
2.0.12 | 881 | 9/3/2019 |
2.0.6 | 3,765 | 7/22/2019 |
2.0.4 | 2,442 | 6/1/2019 |
2.0.3 | 1,077 | 5/23/2019 |
2.0.2 | 2,145 | 5/7/2019 |
2.0.1 | 6,414 | 1/4/2019 |