We have
migrated from PowerShell to Graph API as Microsoft 365
PowerShell commands were taking more time to execute for huge resources and
needed Administrative user privileges to execute the commands. Microsoft provides only
archived data in the
Graph API. To monitor live data, use the PowerShell mode considering the user privileges and the
time taken to fetch huge resources.