Replies: 1 comment 3 replies
-
Did you check this : https://pnp.github.io/powershell/articles/authentication.html. You need an app to make authentication work. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
backend:
$password is created as a MFA password = https:;//aka.ms/mfa
If I as utilizing the module SharePointPnPPowerShellOnline
Install-Module SharePointPnPPowerShellOnline
I have no issues running the auth:
Connect-PNPOnline -URL $url -Credentials $cred
If I as utilizing the module "PnP.PowerShell" (keep in mind I uninstalled the other module)
Install-Module -Name "PnP.PowerShell"
Connect-PNPOnline -URL $url -Credentials $cred
then it gives me an error: "Credential authentication failed AADSTS......"
any thoughts on what would it be the error?
Beta Was this translation helpful? Give feedback.
All reactions