You could also try the slmgr /rearm command in an admin Command Prompt as a last resort. Another option is to double-check your Microsoft account is linked to your digital license in Settings.
Yeah, sometimes it just needs time to sync with the servers, but have you tried checking if your Microsoft account is properly linked to your digital license?