I'm trying to enable a table for CDC and get the below error. Enabling CDC did work previously and we have added multiple tables before.
Msg 22832, Level 16, State 1, Procedure sys.sp_cdc_enable_table_internal, Line 666 [Batch Start Line 28]
Could not update the metadata that indicates table [sdm].[FLXRL_Policy] is enabled for Change Data Capture. The failure occurred when executing the command 'sp_cdc_create_change_table'. The error returned was 15562: 'The module being executed is not trusted.
Either the owner of the database of the module needs to be granted authenticate permission, or the module needs to be digitally signed.'. Use the action and error to determine the cause of the failure and resubmit the request.
What I can could see was that EXEC sys.sp_cdc_enable_table is executing sys.sp_cdc_enable_table_internal and if I execute the that sp it returns
Msg 2812, Level 16, State 62, Line 26
Could not find stored procedure 'sys.sp_cdc_enable_table_internal'.
Any suggestions or guidance is appreciated