We have shared many files with a guest user account (using his gmail account), using these steps:-
Access the document advance permission page
Stop permission inheritance
- "Grant permission" access to the external user account >> with contribute permission
The external user get an email to access the file >> for the first time the external user where asked to create a Microsoft account and can access the file
now we wanted to remove the user access on all the files on all the site >> so from Office 365 admin >> under Guest >> i removed the guest account >> then i removed from the delete user list using this command:-
Remove-AzureADMSDeletedDirectoryObject -Id 7******4
but the external user can still access all the files + his username is still mentioned inside the document advanced permission setting.
so till when the guest account can access the files, even that we completely removed him/her guest account?
now for one hour >> the user can directly access the file from the email sent to him >> then after an hour when the user click on the invitation link >> the user will be asked to register again and can access the file. any advice on this scenario?