Hi,
I suggest you uninstall OneDrive from Windows 11 and then re-install OneDrive without Intune. If you can see the View online option under Windows 11 that isn't managed by Intune, then it's possible that the issue caused by the policies configured on Intune. It is recommended that you try this method first to help narrow down the problem, it's glad to help you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.