Closed techspence closed 2 years ago
It looks like .NET Core needs another redirect URI. Can you try this:
$params = @{
ClientId = "37f82fa9-674e-4cae-9286-4b21eb9a6389"
RedirectUri = "http://localhost"
}
$token = Get-MsalToken @params
Connect-M365Doc -token $token
If this works I will update the module.
That did it. I'm able to successfully connect. Thanks!
New version is published to PSGallery. This should work now.
Hey there. Getting an error when I try to
Connect-M365Doc
Any ideas why this may be happening or how to fix? Note, this is with PowerShell 7.