< Back

Clear-AdminPowerAppApisToBypassConsent

Sat Jan 18, 2020 3:45 pm

NAME Clear-AdminPowerAppApisToBypassConsent



SYNOPSIS

Removes the consent bypass so users are required to authorize API connections for the input PowerApp.





SYNTAX

Clear-AdminPowerAppApisToBypassConsent -AppName <String> [-ApiVersion <String>] [<CommonParameters>]



Clear-AdminPowerAppApisToBypassConsent [-ApiVersion <String>] [-ForceLease <Boolean>] [<CommonParameters>]





DESCRIPTION

The Clear-AdminPowerAppApisToBypassConsent changes the bypassConsent flag of a PowerApp to false.

Use Get-Help Clear-AdminPowerAppApisToBypassConsent -Examples for more detail.





PARAMETERS

-AppName <String>

App Id of PowerApp to operate on.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

PowerApps Api version date, defaults to "2017-05-01"



Required? false

Position? named

Default value 2017-05-01

Accept pipeline input? false

Accept wildcard characters? false



-ForceLease <Boolean>

Forces the lease when overwriting the PowerApp fields. Defaults to false if no input is provided.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Clear-AdminPowerAppApisToBypassConsent -PowerAppName c3dba9c8-0f42-4c88-8110-04b582f20735



Updates the input PowerApp to require consent in the production tenant of the logged in user.











RELATED LINKS