Codeunit::"CRM Setup Defaults" fields doesn't exist in current context


I'm having a hard time following the 'Customizing an Integration with Microsoft Dataverse' guide on the Docs website and I'm currently on the step where you gotta use the Codeunit CRM Setup Defaults (ID 5334) to subscribe on the OnAddEntityTableMapping event in order to enable deep linking between coupled Business Central records and Microsoft Dataverse records.

[EventSubscriber(ObjectType::CodeunitCodeunit::"CRM Setup Defaults", 'OnAddEntityTableMapping''', true, true)]
    local procedure HandleOnAddEntityTableMapping(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)
        CRMSetupDefaults: Codeunit "CRM Setup Defaults";
        CRMSetupDefaults.AddEntityTableMapping('Order Type'DATABASE::"LGX SNV Order Type", TempNameValueBuffer);
        CRMSetupDefaults.AddEntityTableMapping('Order Type'DATABASE::"CRM new_ordertype", TempNameValueBuffer);

But when I try to use the procedure for adding the entity, it gets highlited in red stating that the codeunit does not contains a definition for the procedure I'm trying to use.

'Codeunit "CRM Setup Defaults"' does not contain a definition for 'AddEntityTableMapping'AL(AL0132)

Is there any way to fix this? I just checked the codeunit and the procedure is there. I'm wondering if it could be something permission-related.

I would really appreciate any help with this.