I didn't test, but I've heard Microsoft recently(?) restricted the edit permissions for people without a Microsoft account to only add objects or update existing ones. (source of my assumptions). People with a Microsoft account are still able to delete objects with the edit permissions.
Restrict permissions to not be able to delete objects
It's possible, although a bit complicated to achieve permissions for people to be able to add and update but not to delete, as described by Microsoft Agent in the Microsoft Community regarding OneDrive permissions:
- Create a new Permission Level
- On OneDrive, click on the gear icon and OneDrive Settings
- On the left, select More Settings and Return to the old Site settings page under Can't find what you are looking for? on the bottom of the page
- Open Site permissions
- In the ribbon, open the Permission levels under Manage
- Open the Edit permissions and below the form, click on Copy Permission Level
- Give your new level an appropriate name and a helpful description
- Remove all the Delete permissions, as well as Manage Lists in List Permissions
- Click on Create
- Apply the new Permission Level
- Back on the OneDrive page, click on the ellipse/three dots next to the folder you want to share
- Click on Manage Access and select Advanced
- In the ribbon, click on *Grant permissions
- Add the people/mail addresses in the popup (under Invite people) and optionally add some explaining text below.
- Click on SHOW OPTIONS at the bottom and select the Permission Level you just created
- Share your folder
This solution does not work with just creating a link to share, but it's not restricted to people having a Microsoft account. So, you're restricted to Microsoft sending the mails to the people you want to invite.
I didn't check whether it might be possible to add the people by Microsoft accounts, deselect the Send an email invitation and then create a View link to send to the people. I think that the people get also the add permission when signed in.