Microsoft365DSC
Microsoft365DSC copied to clipboard
Export of Power Platform with 2FA not showing browser window
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