[BUG] - error with Connect-PnPOnline #2555
Unanswered
DarylVoganMBI
asked this question in
General
Replies: 3 comments
-
Looks like some issue specific to your M365 environment , can you try with |
Beta Was this translation helpful? Give feedback.
0 replies
-
After a failed password change, I got the same error. Resetting the password again solved this issue for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 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.
-
Error connecting with a hard-coded non-MFA email and password
Expected behavior
successful conenction
Actual behavior
Connect-PnPOnline : There was an error parsing WS-Trust response from the endpoint. This may occur if there is an issue with your ADFS configuration. See https://aka.ms/msal-net-iwa-troubleshooting for
more details. Error Message: Federated service at https://sts.xxxxxxxx.com/adfs/services/trust/2005/usernamemixed returned error: ID3242: The security token could not be authenticated or authorized.
Steps to reproduce behavior
cls
$siteUrl="https://xxxxx.sharepoint.com/sites/xxxxxx"
$spoUserName = "xxxxxxxxxxxx"
$spoUserPassword='xxxxxxxxxxxx'
$secPwd = $spoUserPassword | ConvertTo-SecureString -AsPlainText -Force
$creds = new-object -typename System.Management.Automation.PSCredential -argumentlist $spoUserName, $secPwd
$ReportFile="C:\Temp\DLA-ELD.csv"
remove-item $ReportFile -ErrorAction SilentlyContinue
$now=Get-Date
write-host "start - $now"
#$creds=Get-Credential
Connect-PnPOnline -URL $siteURL -Credentials $creds
What is the version of the Cmdlet module you are running?
ModuleType Version Name ExportedCommands
Manifest 1.11.0 PnP.PowerShell {Add-PnPAdaptiveScopeProperty, Add-PnPPropertyBagValue, Add-PnPSiteClassification, Copy-PnPFolder...}
Manifest 1.10.0 PnP.PowerShell {Add-PnPAdaptiveScopeProperty, Add-PnPPropertyBagValue, Copy-PnPFolder, Export-PnPClientSidePage...}
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions