12Knocksinna / Office365itpros

Office 365 for IT Pros PowerShell examples
MIT License
1.33k stars 577 forks source link

Update FindObsoleteGuestsByActivity.ps1 #108

Closed jsan-codes closed 6 months ago

jsan-codes commented 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".

12Knocksinna commented 6 months ago

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.