2FA authentication to login in Concur using Microsoft authenticator app

Hi All,

I need to automate SAP Concur login , which has 2FA authentication which cannot be disabled, I have Microsoft authenticator app installed in Browser, how we can automate and get the passcode , I’m using get Microsoft token activity , please any help much appreciated

@monisharpa2020

If the authenticator is installed then I believe you can get code fromthere

Then use that code in the login screen

Cheers

ok, so you mean get that passcode using an activity do a type into ? can we use secret key ?

@monisharpa2020,

Yes you will have to get the token from the Authenticator app using Ui automation like Get Text Activity. This will give you plain string.

If your SAP requires the token to be entered in Secure String format, convert the plain string to secure string with below code.

  1. declare a secure string datatype variable
  2. Use assign activity and assign this code (new System.Net.NetworkCredential(“”, “myString”)).SecurePassword to the variable

your token is ready to be entered in SAP.

Thanks,
Ashok :slight_smile: