Skip to main content

I don't want my users to have to perform the computer activation step during login, where after entering a correct username and password, I'm asked for a verification code sent to my email. 

I have the Trusted IP Ranges, in Network Access, correctly configured with the address of the user, since I verified in the Login History that the source IP matches the ranges. 

This was working until recently, no verification was requested, but this week it started asking for it. 

I tried creating a permission set with the "Waive Multi-Factor Authentication for Exempt Users" permission checked and assigned it to the user. I also tried adding the full range of IPs to the Login IP Ranges of the user's profile. Nothing works, it keeps requesting computer activation. 

Did anything change recently on Salesforce's side or am I missing something? 

 

Why I want to disable computer action: 

I have automated UI tests running on an Azure DevOps pipeline that perform the OAuth 2.0 authorization code flow so it's not feasible to perform the verification in the automated test. 

 

I'm using a Developer account. 

6 answers
  1. Jan 29, 11:24 PM

    "I also tried adding the full range of IPs to the Login IP Ranges of the user's profile." 

    In case you haven't already solved this one, I think this is your issue. You can only have 16 million IPs in your range. If it's too big, it's disregarded by the device activation process. 

0/9000