Closed jsan-codes closed 6 months ago
The previous version used the AzureAD module "Get-AzureADUser", which is now obsolete. It was updated to the module Az.Resources, whose syntax is "Get-AzADuser". This module also no longer requires the flag "-All".
This script is obsolete. The up to date version is https://github.com/12Knocksinna/Office365itpros/blob/master/FindObsoleteGuestsByActivityV3.PS1. This version uses the Graph SDK.
The previous version used the AzureAD module "Get-AzureADUser", which is now obsolete. It was updated to the module Az.Resources, whose syntax is "Get-AzADuser". This module also no longer requires the flag "-All".