Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

Export of Power Platform with 2FA not showing browser window

Open andikrueger opened this issue 2 years ago • 0 comments

Details of the scenario you tried and the problem that is occurring

Running an export of Power Platform componenten with a 2 FA enabled account results in an issue with the 2 FA prompt not being shown. The error is not picked up within MSCloudLoginAssistant and therefore no 2 FA authentication is attempted. This is the error message:

[1/3] Extracting [PPPowerAppsEnvironment]...Ausnahme beim Aufrufen von "GetResult" mit 0 Argument(en): "AADSTS50158: External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges.

Suggested solution to the issue

Add an additional catch for this kind of error.

Version of the DSC module that was used ('dev' if using current dev branch)

1.22.831.1

andikrueger avatar Sep 12 '22 12:09 andikrueger