GET /servicePrincipals/{servicePrincipal-id}/licenseDetails/getTeamsLicensingDetails
Not listed
Get-MgBetaUserLicenseDetailTeamLicensingDetail
Microsoft.Graph.Beta.Users
GET /users/{user-id}/licenseDetails/getTeamsLicensingDetails
User.Read (delegated)
Install with Install-Module Microsoft.Graph.Beta.Applications. Permissions come from the SDK's metadata; check Microsoft's API page before granting them.