Hi,
Don’t know the model, but try running the [https://www.manualslib.com/manual/147322/Samsung-Rf267ae-Series.html?page=50#manual|Self-diagnostic function during normal operation] and check if there are any ice maker error codes (see following pages in manual) that may give an indication of the problem.
If it is determined that a part is faulty and needs to be replaced, search online for ''RF267AEPN parts'' to get results for suppliers that suit you best.
Hopefully this is of some help.