A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi Rechel,
After you run those commands on SharePoint PowerShell, it will logically succeed in sharing the files to specific people with correct permission. However, it still failed sharing via SharePoint UI directly. This is a strange phenomenon.
Since we can’t reproduce the issue in our environment and our community support team has the limited resources, I suggest you contact the administrator in your company if you aren’t the administrator and follow the steps in the articleto open a ticket, this is a most efficient way to fix the issue in your environment, they can check for problems in the back end of SharePoint.
Sorry for not being able to help you on our side. However, I would like to provide my help, I wrote a summary on this issue in the private message, please provide the summary to the support agent to help him speed up on the investigation.
Thank you for understanding.
Regards,
Jazlyn