However if I run:
Connect-PnPOnline $Url -UseWebLogin
With the same username and password it works fine.
After doing some more digging, I don't believe the the request is being redirected correctly, like it is via UseWebLogin. We are not in a commercial office 365 tenant, but a .us
When trying to connect to a site via scheduled task or manually it fails to connect.
Command: Connect-PnPOnline $Url -Credentials $Credentials The error I receive is:
However if I run: Connect-PnPOnline $Url -UseWebLogin With the same username and password it works fine.
After doing some more digging, I don't believe the the request is being redirected correctly, like it is via UseWebLogin. We are not in a commercial office 365 tenant, but a .us
Azure is displaying this error:
Which version of the PnP-PowerShell Cmdlets are you using?
Online 3.25.2009.1
How did you install the PnP-PowerShell Cmdlets?