Microsoft 365 – files and folders can be shared by sending someone a sharing link or by giving them direct access to the file or folder and if you are the file owner you can stop sharing the file or folder. To delete a sharing link click the … next to the link, then click the X next to the link to remove it