web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PA Flow issue - trying...
Power Automate
Unanswered

PA Flow issue - trying to verify user credentials via a flow but MFA blocks me

(0) ShareShare
ReportReport
Posted on by
Greetings to all you helpful people out there,
 
This might sound unusual but I'm looking to implement a secondary credential check in a PowerApp I'm building. The reason for this is the devices it will be run on are shared among users and some tasks in the app must only be carried out by qualified individuals. It's far too easy for a user in a depot/warehouse to pick up someone else's device off a workbench or from a charging dock and go to do some work while logged in as the wrong user, hence the need for a final password check before the work form is patched back to the system. A failure would result in an error message and no data updated.
 
I've attempted to build an http POST request in Power Automate but when testing it I get an error that suggests our MFA policy wants me to verify my request but can't:
 
"error": "invalid_grant",
"error_description": "AADSTS50158: External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges.
 
So my question is, other than turning off MFA (not an option) is there any other way around this? Or if not, is it possible to turn off MFA just for a specific flow?
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard