I want to disable the consent dialog on one of my apps, which is called "Receiving Pictures Upload." I've tried no quotes, single quotes, and double quotes. Same error. What am I doing wrong? I am not a PowerShell user at all, so sort of hacking my way through this.
PS C:\Users\userpath> Set-AdminPowerAppApisToBypassConsent -'Receiving Pictures Upload' {xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}
Set-AdminPowerAppApisToBypassConsent : A positional parameter cannot be found that accepts argument '-Receiving
Pictures Upload'.
At line:1 char:1
+ Set-AdminPowerAppApisToBypassConsent -'Receiving Pictures Upload' {54 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-AdminPowerAppApisToBypassConsent], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Set-AdminPowerAppApisToBypassConsent