< Back
Set-AdminPowerAppApisToBypassConsent
Post
NAME Set-AdminPowerAppApisToBypassConsent
SYNOPSIS
Sets the consent bypass flag so users are not required to authorize API connections for the input PowerApp.
SYNTAX
Set-AdminPowerAppApisToBypassConsent -AppName <String> [-ApiVersion <String>] [<CommonParameters>]
Set-AdminPowerAppApisToBypassConsent [-ApiVersion <String>] [-ForceLease <Boolean>] [<CommonParameters>]
DESCRIPTION
The Set-AdminPowerAppApisToBypassConsent changes the bypassConsent flag of a PowerApp to true.
Use Get-Help Set-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:\\>Set-AdminPowerAppApisToBypassConsent -PowerAppName c3dba9c8-0f42-4c88-8110-04b582f20735
Updates the input PowerApp to not require consent for APIs in the production tenant of the logged in user.
RELATED LINKS
SYNOPSIS
Sets the consent bypass flag so users are not required to authorize API connections for the input PowerApp.
SYNTAX
Set-AdminPowerAppApisToBypassConsent -AppName <String> [-ApiVersion <String>] [<CommonParameters>]
Set-AdminPowerAppApisToBypassConsent [-ApiVersion <String>] [-ForceLease <Boolean>] [<CommonParameters>]
DESCRIPTION
The Set-AdminPowerAppApisToBypassConsent changes the bypassConsent flag of a PowerApp to true.
Use Get-Help Set-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:\\>Set-AdminPowerAppApisToBypassConsent -PowerAppName c3dba9c8-0f42-4c88-8110-04b582f20735
Updates the input PowerApp to not require consent for APIs in the production tenant of the logged in user.
RELATED LINKS