Did you follow these instruction :
https://learn.microsoft.com/en-us/graph/powershell/installation
Regards,
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to register Microsoft.Graph.Intune.
But, my pc can't pop up the Aouth authentication screen to register. So, Connect-MSGraph cannot be used.
And I try to register with powershell.
But, the next code displays Aouth popup.
Connect-AzureAD -Credential $cre
$User = "***@****.onmicrosoft.com"
$clientId = "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
$redirectUri = "urn:ietf:wg:oauth:2.0:oob"
$resourceAppIdURI = "https://graph.microsoft.com"
$authority = "https://login.microsoftonline.com/$Tenant"
$authContext = New-Object "Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext" -ArgumentList $authority
$platformParameters = New-Object "Microsoft.IdentityModel.Clients.ActiveDirectory.PlatformParameters" -ArgumentList "Auto"
$userId = New-Object "Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifier" -ArgumentList ($User, "OptionalDisplayableId")
$authResult = $authContext.AcquireTokenAsync($resourceAppIdURI,$clientId,$redirectUri,$platformParameters,$userId).Result
Did you follow these instruction :
https://learn.microsoft.com/en-us/graph/powershell/installation
Regards,