Is it possible to use the Connect-AzureAD cmdlet to get credentials from an interactive user login that contains an access token which can be used in Authorization Bearer headers for Invoke-RestMethod calls to the Graph API? Or is a second call to the Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireTokenAsync command always required to force the user to login again because Graph API calls are a different resource and require a different context?
I know an Azure AD Application Registration can be used but I cannot do that for this script.