Solved, I was working on files in a OneDrive folder. The menu does not appear when the files are stored in the cloud.
The menu appears after I have the files stored locally, i.e. "always keep these files on the computer" option in Win11 Right Click menu.