Help with Flow Designer: Automating Microsoft Entra ID (Azure) MFA Reset via Graph API

SS1510
Tera Expert
Hi ,

I am developing an automated MFA reset process using Flow Designer and a Custom Action with the Microsoft Graph API. The goal is to allow users to request an MFA reset via the Service Catalog, which then triggers a flow to delete their existing MFA methods in Entra ID, forcing a re-registration.
Current Setup:
  1. Custom Action: Uses a REST step to GET v1.0/users/{userEmail}/authentication/methods.
  2. Script Step: Parses the JSON response into an Array.String of IDs.
  3. Flow Logic: Uses a For Each loop to iterate through the IDs.
  4. Delete Step: A second REST call to DELETE v1.0/users/{userEmail}/authentication/methods/{methodId}.

The Issue:
I am consistently receiving a 403 Forbidden (accessDenied) error during the test run, even after refreshing the OAuth token.

Is there anyone who has work on the same requirement , 
Any advice on the flow logic or the Azure permission side would be greatly appreciated!

 

 
 



0 REPLIES 0