Try the solution here:
https://github.com/microsoftgraph/msgraph-sdk-powershell#known-issues
- Customers upgrading from previous versions of the SDK may encounter auth prompts on every command call. If this happens, one can use the following steps to reset their token cache:
- Use
Disconnect-MgGraph
to sign out of the current session. - Run
Remove-Item "$env:USERPROFILE\.graph" -Recurse -Force
to delete your token cache. - Run
Connect-MgGraph
to reconstruct a clean token cache.