Hi,
If you sign in with a work or school account, you can send a link to specific people, either inside or outside of your organization.
If you sign in with a Microsoft personal account, you can only choose people who also have Microsoft personal account.
This is by design behavior for sharing files to external user, hope the information is helpful.
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.