Hi A’Kumar,
There is no OOB way in SharePoint online to achieve your requirement.
A possible workaround can be like this: you can use group policy to restrict users from accessing the network drive. If possible, you can add a logon script to group policy to check
if users access the network drive linked to SharePoint online. If yes, the script will break it automatically.
Thanks,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
tnmff@microsoft.com.
