Home

Need a power shell script to fetch MFA details of users provided through input file

%3CLINGO-SUB%20id%3D%22lingo-sub-1098140%22%20slang%3D%22en-US%22%3ENeed%20a%20power%20shell%20script%20to%20fetch%20MFA%20details%20of%20users%20provided%20through%20input%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098140%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EGood%20day!%3C%2FP%3E%3CP%3ECan%20someone%20help%20me%20to%20get%20the%20strong%20authentication%20details%20from%20Azure%20AD%20for%20some%20users%20provided%20through%20input%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1098140%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%20Management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Friday%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIdentity%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098232%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20a%20power%20shell%20script%20to%20fetch%20MFA%20details%20of%20users%20provided%20through%20input%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098232%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20are%20dozens%20of%20such%20script%20samples%20available%20online%2C%20look%20them%20up.%20Since%20most%20of%20them%20require%20Global%20admin%20permissions%2C%20I'd%20recommend%20using%20the%20recently%20introduced%20auth%20methods%20report%20under%3A%26nbsp%3B%3CU%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%20color%3D%22%230b0117%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_AAD_IAM%2FActiveDirectoryMenuBlade%2FPasswordReset%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_AAD_IAM%2FActiveDirectoryMenuBlade%2FPasswordReset%3C%2FA%3E%3C%2FFONT%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOr%20the%20corresponding%20Graph%20API%20endpoints%20if%20you%20want%20a%20programmatic%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Indira1390
New Contributor

Hi All,

Good day!

Can someone help me to get the strong authentication details from Azure AD for some users provided through input file.

 

Thanks in advance

1 Reply
Highlighted

There are dozens of such script samples available online, look them up. Since most of them require Global admin permissions, I'd recommend using the recently introduced auth methods report under: https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/PasswordReset

 

Or the corresponding Graph API endpoints if you want a programmatic solution.