Greetings,
I have a PowerShell script that has been working with the following snippet of code:
$oCredentials = Get-Credential -Message "Please enter your admin credentials" -UserName $sUserName
Add-PowerAppsAccount -Username $oCredentials.UserName -Password $oCredentials.Password
Set-AdminPowerAppApisToBypassConsent -AppName $sAppGUID
MFA has been enabled and the above snippet fails. Can someone please tell me how to accomplish the same when MFA is enabled?
Thank you,
Bob
please confirm user executing command global admin have an access to the app as co owner role
Yes, both are true; the user account is a global admin and a co-owner of the power app. Can this be done with an account that has MFA enabled? Everything I've read indicates to use a service account without MFA enabled.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
12 | |
9 | |
6 | |
1 | |
1 |
User | Count |
---|---|
15 | |
8 | |
5 | |
3 | |
2 |