[BUG] AzureAD cmdlets return error after Connect-AzureAD is successful using CloudShell in M365 Admin Center
To Reproduce
Created new CloudShell in Microsoft365 admin center. Do not launch Cloudshell via portal.azure.com! If you run Connect-AzureAD from portal.azure.com the issue is resolved unless you restart CloudShell in Microsoft365 admin center.
Connect-AzureAD
Get-AzureADUser
Get-AzureADGroup
Observed Behavior
AzureAD cmdlets like Get-AzureADUser or Get-AzureADGroup take a long time to process and return with a token missing or malformed error.

Code: Authentication_MissingOrMalformed
Message: Access Token missing or malformed.
HttpStatusCode: Unauthorized
HttpStatusDescription: Unauthorized
HttpResponseStatus: Completed
Expected behavior
cmdlets to return results
Is this specific to Cloud Shell?
No issue in standard PowerShell or if using the same CloudShell via https://portal.azure.com
Interface information
How are you accessing Cloud Shell - https://admin.microsoft.com/ If a browser, which Operating System and browser are you using? Edge on Windows 10
Additional context
Tried CloudShell in multiple tenants with same results when using from https://admin.microsoft.com.
9 months and the bug still is occurring. Also seen with CloudShell in Microsoft Teams admin center:

This is still a bug, crazy how long this has been an open item...