A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi JBSFM,
Regarding the error message: "We're sorry but [email] can't be found in the SharePoint directory. Please try again later while we try to automatically fix this for you". I would suggest you go to the following location to check if the user’s account is listed there. If yes, please remove it from these locations, then assign permission to see if it works.
1.Remove the external user from the active users list in the portal.
1).Go to Office 365 portal -> Users -> Active Users
2).In the user list, find the external user account. It looks like abc_xyz.com#EXT#@tenantname.onmicrosoft.com
Delete the user.
2.Remove the external user from the UserInfo list.
1).Navigate to the site, edit the URL by adding the following string to the end of it:
_layouts/15/people.aspx/membershipGroupId=0
2).For example, the full URL will resemble the following:
https://<contoso>.sharepoint.com/_layouts/15/people.aspx/membershipGroupId=0
3).Select the user’s account from the list.
Actions -> remove selected users from this SharePoint group.
3.Remove the external user account from the site.
1)Download and install the SharePoint Online Management Shell. For more information, go to the following Microsoft website:
Introduction to the SharePoint Online Management Shell
2)Type the command below:
(1)Cmdlet: connect-sposervice
(2)Url: https://<your tenant domian>-admin.sharepoint.com
(3)
$user = Get-SPOExternalUser -Filter affected account email
Remove-SPOExternalUser -UniqueIDs @($user.UniqueId)
(4)Type Y to apply.
Besides, we can go to https://tenantname-admin.sharepoint.com/_layouts/15/online/ExternalSharing.aspx to select External users must accept sharing invitations using the same account that the invitations were sent to option to avoid same issue.
Regards,
Eli