Hi, @Daniel Kaliel
Thank you for posting in Microsoft Q&A forum.
It sounds the process is correct in SCCM, the problem arises the update itself cannot be installed on Windows 11.
Have we tried to install the KB5051987 manually?
After the way you tag questions on Q&A is updated, for any "Microsoft Configuration Manager" related problem, you can tag it with "Microsoft Intune", and then "Microsoft Configuration Manager" as the child tag.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".