TwoFactorMethodsInfo symbol not found

6 views
Skip to first unread message

Jurgis Salna

unread,
Apr 28, 2025, 9:55:48 AMApr 28
to Illuminated Cloud Q&A
Screenshot 2025-04-28 at 11.30.18 PM.png

I'm on latest release. No clue why it's not recognised.

Scott

unread,
Apr 28, 2025, 9:57:55 AMApr 28
to Illuminated Cloud Q&A, j.si...@gmail.com

Hi. In addition to enabling MFA in the org, you also need to grant the ManageTwoFactor system permission to the IC connection user. Otherwise that SObject isn’t included in the describeGlobal API response. After doing that and regenerating the OST, I have this (and the other associated SObjects) in the OST:

// Generated by Illuminated Cloud on Mon Apr 28 08:54:58 CDT 2025. Do not edit. global class /*Schema.*/TwoFactorMethodsInfo extends SObject { global String ExternalId; global static final SObjectTypeFields fields; global Boolean HasBuiltInAuthenticator; global Boolean HasSalesforceAuthenticator; global Boolean HasSecurityKey; global Boolean HasTempCode; global Boolean HasTotp; global Boolean HasU2F; global Boolean HasUserVerifiedEmailAddress; global Boolean HasUserVerifiedMobileNumber; global Boolean HasVerifiedMobileNumber; global static final SObjectType SObjectType; global User User; global Id UserId; global UserRecordAccess UserRecordAccess; global TwoFactorMethodsInfo() { } }

Regards,
Scott Wells

Reply all
Reply to author
Forward
0 new messages