Hi @arthur,
I find a similar thread you may have a check 'Looking to block access to OneDrive personal, whilst retaining access to OneDrive Business`.
You may try to block the related URLs listed in 'Required URLs and ports for OneDrive', such as onedrive.com, onedrive.live.com, etc.
For example, locating to C:\WINDOWS\system32\drivers\etc, open hosts file via notepad, add 127.0.0.1 onedrive.com
, 127.0.0.1 onedrive.live.com
, 127.0.0.1 *.onedrive.com
like following image to block OneDrive URLs.
Then please save it to have a check, the OneDrive for personal webpage is blocked.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.