This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[BUG] Connect-PnPOnline not working using a service principal #4641
Labels
bug
Something isn't working
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
I am trying to use:
$connection = Connect-PnPOnline -Url $destinationUrl -ClientId $clientId -ClientSecret $clientSecret -Tenant $tenantId
And get the error:
Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
The documentation I've seem seems to indicate this is all that is needed, so I'm wondering if this is a bug?
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)2.12.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: