Microsoft.PowerApps.Administration.PowerShell

Power Apps Administration PowerShell lets you manage Power Apps environments in your tenants.

Microsoft.PowerApps.Administration.PowerShell

Add-AdminPowerAppsSyncUser

Adds a user to the Dynamics 365 database.

Add-AllowedConsentPlans

Allows consent plans to be created within the tenant.

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 Common Data Service database currencies of model-driven apps.

Get-AdminPowerAppCdsDatabaseLanguages

Returns all supported Common Data Service database languages of model-driven apps in Dynamics 365.

Get-AdminPowerAppCdsDatabaseTemplates

Returns all supported Common Data Service 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 with a Common Data Service For Apps database instance.

Get-AdminPowerAppLicenses

Downloads the user licenses (Power Apps and Power Automate) into a specified file.

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-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-PowerAppDlpErrorSettings

Fetches the error settings for the tenant if present, else returns null.

Get-PowerAppDlpPolicyConnectorConfigurations

Retrieves connector configurations 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-AdminPowerAppCdsDatabase

Creates a Common Data Service database.

New-AdminPowerAppEnvironment

Creates an environment.

New-DlpPolicy

Creates a new DLP policy in the tenant by using NewPolicy DLPPolicyDefinition object.

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-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-DlpPolicy

Deletes the specific DLP policy by PolicyName.

Remove-LegacyCDSDatabase

Removes a legacy Common Data Service database.

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-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 Common Data Service, that should receive notifications.

Set-AdminPowerAppConnectionRoleAssignment

Sets permissions to the connection.

Set-AdminPowerAppConnectorRoleAssignment

Sets permissions to a custom connector.

Set-AdminPowerAppEnvironmentDisplayName

Updates the display name of an environment.

Set-AdminPowerAppEnvironmentRoleAssignment

Sets permissions to an environment that does not have a Common Data Service database instance.

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-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-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.