07-19-2018 11:49 AM
Hello All
I want to reach out to community and ask how admins are managing and creating governance around Guest users (external users).
In O 365 tenant users can invite non-tenant users to participate in Teams or in SharePoint sites. But after the project is complete, they forget to remove them from the Team or Site. Also we see a lot of Guest users in Azure AD tenant that have not logged in last 30 days (I am using Azure AD Sign in logs to see this info). For obvious security reasons, we don't want to leave these Guest users active in our tenants. I know we can get list of external users and their sign in data using Graph API. But my question is more around best practices.
Are there any best practices on how to handle stale guest users? I did not see any MS official documentation around this topic. Please share your governance policies that you have setup for guest users.
TIA.
07-20-2018 01:31 PM
The "best practice" will vary greatly from one organization to the other, as some are very "open" in regards to guest users, other must allow their partners and customers, while organizations in certain industries will never even enable such a feature. Microsoft's own tool to manage guest user lifecycle is called Access Reviews (https://docs.microsoft.com/en-us/azure/active-directory/active-directory-azure-ad-controls-manage-gu...), but unfortunately the license requirements are very prohibitive for any organization not already invested in AAD Premium P2.
PowerShell and the Graph API give you all the tools you need in order to manage Guest users, so you can build your custom solution around it, if the above is too costly.
07-20-2018 05:38 PM
@Vasil Michev thank you for your response.
I agree with you that Azure AD Premium P2 is expensive hence I am building my scripts and tools for External user management. Just wanted to ask community how long are you leaving an external user in Azure AD. We cannot leave inactive external users forever in the tenant.
07-21-2018 06:58 AM
Running the script/tool on a monthly basis seems like a sensible approach. But again, depends on the organization policies, some organizations will be perfectly fine doing the cleanup once per quarter.
10-02-2018 07:55 AM
Does anyone have a Power Shell script that would provide a list of stale guest accounts with the last log in date for users who don't have a mailbox? External users who have been granted access to sites or documents in classic SharePoint sites and modern Team and Communication sites don't have mailboxes.
05-17-2019 05:27 AM
the only way I've seen to check user activity is to go to the sign in logs.
Aside from that nothing