Microsoft.PowerApps.Administration.PowerShell
Power Apps Administration PowerShell lets you manage Power Apps environments in your tenants.
Microsoft.PowerApps.Administration.PowerShell
Add-AdminFlowsToSolution |
Add flows to a solution. |
Add-AdminPowerAppsSyncUser |
Adds a user to the Dynamics 365 database. |
Add-AllowedConsentPlans |
Allows consent plans to be created within the tenant. |
Add-ConnectorToBusinessDataGroup |
Sets connector to the business data group of a DLP policy. |
Add-CustomConnectorToPolicy |
Adds a custom connector to the given group. |
Add-PowerAppsAccount |
Adds a Power Apps account. |
Backup-PowerAppEnvironment |
Creates a backup of an environment. |
Clear-AdminPowerAppApisToBypassConsent |
Removes the consent bypass. |
Clear-AdminPowerAppAsFeatured |
Removes the input app as a featured application for the tenant. |
Clear-AdminPowerAppAsHero |
Removes the input app as a hero application. |
Copy-PowerAppEnvironment |
Copies an environment from source to target. |
Disable-AdminFlow |
Stops a flow. |
Enable-AdminFlow |
Starts a flow. |
Get-AdminDeletedPowerAppsList |
Returns the list of deleted Power Apps apps apps in the admin's specified environment. |
Get-AdminFlow |
Returns information about flows. |
Get-AdminFlowOwnerRole |
Gets owner permissions to a flow. |
Get-AdminFlowUserDetails |
Returns user details for a flow. |
Get-AdminPowerApp |
Returns information about apps. |
Get-AdminPowerAppCdsAdditionalNotificationEmails |
Returns email addresses of users of model-driven apps in Dynamics 365 that receive notifications. |
Get-AdminPowerAppCdsDatabaseCurrencies |
Returns all supported Dataverse database currencies of model-driven apps. |
Get-AdminPowerAppCdsDatabaseLanguages |
Returns all supported Dataverse database languages of model-driven apps in Dynamics 365. |
Get-AdminPowerAppCdsDatabaseTemplates |
Returns all supported Dataverse database templates of model-driven apps in Dynamics 365. |
Get-AdminPowerAppConnection |
Returns information about connections. |
Get-AdminPowerAppConnectionReferences |
Returns app connection references. |
Get-AdminPowerAppConnectionRoleAssignment |
Returns the connection role assignments for a user or a connection. |
Get-AdminPowerAppConnector |
Returns information about custom connectors. |
Get-AdminPowerAppConnectorAction |
Returns connector operations. |
Get-AdminPowerAppConnectorRoleAssignment |
Returns the connection role assignments for a user or a custom connection. |
Get-AdminPowerAppEnvironment |
Returns information about one or more Power Apps environments where the calling user is an Environment Admin. If the calling user is a tenant admin, all environments within the tenant will be returned. |
Get-AdminPowerAppEnvironmentLocations |
Returns all supported environment locations. |
Get-AdminPowerAppEnvironmentRoleAssignment |
Returns the environment role assignments for environments without a Dataverse database. |
Get-AdminPowerAppLicenses |
Downloads the user licenses (Power Apps and Power Automate) into a specified file. Output of the Get-AdminPowerAppLicenses cmdlet only includes licenses for users that have accessed Power Platform services (for example, Power Apps, Power Automate, or the Power Platform admin center). Users that have had licenses assigned in Azure AD (typically via the Microsoft 365 admin center) but have never accessed Power Platform services will not have their licenses included in the generated .csv output. Furthermore, since the Power Platform licensing services caches the licenses, updates made to license assignments in Azure AD can take up to seven days to reflect in the output for users that haven't accessed the service recently. |
Get-AdminPowerAppOperationStatus |
Get admin Power Apps operation status by operation URL. |
Get-AdminPowerAppRoleAssignment |
Returns permission information about apps. |
Get-AdminPowerAppSharepointFormEnvironment |
Gets the environment that Power Apps uses to save SharePoint Form apps. |
Get-AdminPowerAppSoftDeletedEnvironment |
Returns information about soft-deleted Power Apps environments. |
Get-AdminPowerAppsUserDetails |
Downloads Power Apps user details into a specified file path. |
Get-AdminPowerAppTenantConsumedQuota |
Gets the admin Power Apps tenant consumed quota. |
Get-AdminRecoverDeletedPowerApp |
Recovers the deleted Power Apps app with the specified app ID in the specified environment. |
Get-AdminVirtualConnectors |
Retrieves virtual connectors available to the tenant. |
Get-AllowedConsentPlans |
Gets the types of consent plans that are allowed within the tenant. |
Get-DlpPolicy |
Retrieves a list of DLP policy objects. |
Get-JwtToken |
Gets the user or application sign in token. |
Get-PowerAppDlpConnectorBlockingPolicies |
Fetches the connector blocking policies for the tenant if present else returns null. |
Get-PowerAppDlpConnectorBlockingPolicy |
Fetches the connector blocking policy for the tenant by ID. |
Get-PowerAppDlpErrorSettings |
Fetches the error settings for the tenant if present, else returns null. |
Get-PowerAppDlpPolicyConnectorConfigurations |
Retrieves connector configurations for a DLP policy. |
Get-PowerAppDlpPolicyExemptResources |
Retrieves exempt resources for a DLP policy. |
Get-PowerAppEnvironmentBackups |
Gets environment backup lists. |
Get-PowerAppGenerateProtectionKey |
Get Power Apps protection key. |
Get-PowerAppManagementApp |
Get management application by ApplicationId. |
Get-PowerAppManagementApps |
Lists management applications. |
Get-PowerAppPolicyUrlPatterns |
Retrieves a list of URL patterns for a DLP policy. |
Get-PowerAppRetrieveAvailableTenantProtectionKeys |
Get Power Apps available keys. |
Get-PowerAppRetrieveTenantProtectionKey |
Get Power Apps current protection key. |
Get-PowerAppTenantIsolationOperationStatus |
Get tenant isolation operation status. |
Get-PowerAppTenantIsolationPolicy |
Get tenant isolation policy. |
Get-PowerAppTenantUrlPatterns |
Retrieves a list of URL patterns at the tenant level. |
Get-TenantDetailsFromGraph |
Gets my organization tenant details from Microsoft Graph. |
Get-TenantSettings |
Gets tenant settings. |
Get-UsersOrGroupsFromGraph |
Returns users or groups from Microsoft Graph. |
InvokeApi |
Invokes an API. |
InvokeApiNoParseContent |
Invokes an API without parsing return content. |
New-AdminDlpPolicy |
Creates and inserts a new API policy into the tenant. By default the environment filter is off, and all API connections are in the no business data group (lbi). |
New-AdminPowerAppCdsDatabase |
Creates a Dataverse database. |
New-AdminPowerAppEnvironment |
Creates an environment. |
New-DlpPolicy |
Creates a new DLP policy in the tenant by using NewPolicy DLPPolicyDefinition object. |
New-PowerAppDlpConnectorBlockingPolicy |
Creates the connector blocking policy for the tenant if it's not created already. |
New-PowerAppDlpErrorSettings |
Creates the error settings for the tenant if not created already. |
New-PowerAppDlpPolicyConnectorConfigurations |
Creates new connector configurations for a DLP policy by using NewDlpPolicyConnectorConfigurations DlpPolicyConnectorConfigurationsDefinition object. |
New-PowerAppDlpPolicyExemptResources |
Creates new exempt resources for a DLP policy by using NewDlpPolicyExemptResources DlpPolicyExemptResourcesDefinition object. |
New-PowerAppImportProtectionKey |
Import Power Apps protection key. |
New-PowerAppManagementApp |
Register management application by ApplicationId. |
New-PowerAppPolicyUrlPatterns |
Creates new URL patterns for a DLP policy by using NewUrlPatterns UrlPatternsDefinition object |
New-PowerAppTenantUrlPatterns |
Creates new URL patterns at the tenant level by using NewUrlPatterns UrlPatternsDefinition object |
Recover-AdminPowerAppEnvironment |
Recovers an environment. |
Remove-AdminFlow |
Deletes a flow. |
Remove-AdminFlowApprovals |
Removes all flow approvals. |
Remove-AdminFlowOwnerRole |
Removes owner permissions to a flow. |
Remove-AdminFlowUserDetails |
Removes details associated with a flow user. |
Remove-AdminPowerApp |
Deletes an app. |
Remove-AdminPowerAppConnection |
Deletes an app connection. |
Remove-AdminPowerAppConnectionRoleAssignment |
Deletes a connection role assignment. |
Remove-AdminPowerAppConnector |
Deletes a custom connector. |
Remove-AdminPowerAppConnectorRoleAssignment |
Deletes a connector role assignment. |
Remove-AdminPowerAppEnvironment |
Deletes an environment. |
Remove-AdminPowerAppEnvironmentRoleAssignment |
Deletes a role assignment of an environment. |
Remove-AdminPowerAppRoleAssignment |
Deletes a role of an app. |
Remove-AllowedConsentPlans |
Removes types of consent plans from the tenant and blocks those types from being created within the tenant. |
Remove-ConnectorFromBusinessDataGroup |
Removes connector to the business data group of a DLP policy. |
Remove-CustomConnectorFromPolicy |
Deletes a custom connector from the given DLP policy. |
Remove-DlpPolicy |
Deletes the specific DLP policy by PolicyName. |
Remove-LegacyCDSDatabase |
Removes a legacy Dataverse database. |
Remove-PowerAppDlpConnectorBlockingPolicy |
Deletes the connector blocking policy for the tenant if it exists. |
Remove-PowerAppDlpErrorSettings |
Deletes the error settings for the tenant, if they exist. |
Remove-PowerAppDlpPolicyConnectorConfigurations |
Deletes the specific DLP policy connector configurations by TenantId and PolicyName. |
Remove-PowerAppDlpPolicyExemptResources |
Deletes the specific DLP policy exempt resources by TenantId and PolicyName. |
Remove-PowerAppEnvironmentBackup |
Removes a backup of an environment. |
Remove-PowerAppManagementApp |
Remove management application by ApplicationId. |
Remove-PowerAppPolicyUrlPatterns |
Deletes the specific URL patterns by TenantId and PolicyName. |
Remove-PowerAppsAccount |
Removes a Power Apps account. |
Remove-PowerAppTenantUrlPatterns |
Deletes URL patterns at tenant level. |
ReplaceMacro |
Replaces a macro. |
Reset-AdminPowerAppSharepointFormEnvironment |
Resets the environment that Power Apps uses to save SharePoint form apps back to the default environment. |
Reset-PowerAppEnvironment |
Resets an environment. |
Restore-PowerAppEnvironment |
Restores an environment. |
Select-CurrentEnvironment |
Sets the current environment for listing apps, flows, and other environment resources. |
Set-AdminFlowOwnerRole |
Sets owner permissions to a flow. |
Set-AdminPowerAppApisToBypassConsent |
Sets the consent bypass of an app to true. |
Set-AdminPowerAppAsFeatured |
Updates the input app to be a featured application for the tenant. |
Set-AdminPowerAppAsHero |
Updates the input app to be the hero application. |
Set-AdminPowerAppCdsAdditionalNotificationEmails |
Sets email addresses of users, other than default admins of Dataverse, that should receive notifications. |
Set-AdminPowerAppConnectionRoleAssignment |
Sets permissions to the connection. |
Set-AdminPowerAppConnectorRoleAssignment |
Sets permissions to a custom connector. |
Set-AdminPowerAppDesiredLogicalName |
Sets the desired logical name of the Power Apps app. |
Set-AdminPowerAppEnvironmentDisplayName |
Updates the display name of an environment. |
Set-AdminPowerAppEnvironmentRoleAssignment |
Sets permissions to an environment that does not have a Dataverse database. |
Set-AdminPowerAppEnvironmentRuntimeState |
Updates the environment administration mode. |
Set-AdminPowerAppOwner |
Sets the app owner and changes the current owner to the "Can View" role type. |
Set-AdminPowerAppRoleAssignment |
Sets permissions to an app. |
Set-AdminPowerAppSharepointFormEnvironment |
Remaps the environment that Power Apps uses to save SharePoint form apps. |
Set-DlpPolicy |
Updates a policy by using UpdatedPolicy DLPPolicyDefinition object. |
Set-PowerAppDlpConnectorBlockingPolicy |
Updates the connector blocking policy for the tenant. |
Set-PowerAppDlpErrorSettings |
Updates the error settings for the tenant if error settings are created for the tenant. |
Set-PowerAppDlpPolicyConnectorConfigurations |
Updates connector configurations for a DLP policy by using UpdatedConnectorConfigurations DlpPolicyConnectorConfigurationsDefinition object. |
Set-PowerAppDlpPolicyExemptResources |
Updates exempt resources for a DLP policy by using UpdatedExemptResources DlpPolicyExemptResourcesDefinition object. |
Set-PowerAppLockAllEnvironments |
Lock all environments. |
Set-PowerAppProtectionStatus |
Set environment protection status. |
Set-PowerAppTenantIsolationPolicy |
Update tenant isolation policy. |
Set-PowerAppTenantProtectionKey |
Set Power Apps protection key. |
Set-PowerAppUnlockEnvironment |
UnLock an environment. |
Set-TenantSettings |
Updates tenant settings. |
Test-PowerAppsAccount |
Test a Power Apps account. |