Forum Discussion
aammirmirza
Oct 14, 2020Copper Contributor
Connect-MsolService -AdGraphAccessToken $token
I am planning for automation that requires to frequently fetch DELETED users using the below command line. With the collected data I perform cleanup in AzDO. $deletedUsersfromAAD = (Get-MsolUser...
VasilMichev
Oct 14, 2020MVP
Last time I toyed with this, you needed to use both -AdGraphAccessToken and -MsGraphAccessToken to make it work.