Replies: 2 comments
-
Same issue i am facing? any help would be highly appreciated |
Beta Was this translation helpful? Give feedback.
-
The problem no longer occurs if I don't use the ClientID parameter: |
Beta Was this translation helpful? Give feedback.
-
I use the following URL for various scripts
Connect-PnPOnline -S -Url https://xxx-admin.sharepoint.com -ClientID xxxxx -Credentials $spoCredential
This hasn't worked for a few days. I get the following error message:
"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."
If I use the URL without -S (Connect-PnPOnline -Url https://xxx-admin.sharepoint.com -ClientID xxxxx -Credentials $spoCredential), then in my script at the point:
Set-PnPUserProfileProperty -Account $User -PropertyName $SPOPropertyName -Values $ADUserPropertyValue
I get the error:
This process requires that you manage your own data or have administrator rights
My account spoadmin is a Sharepoint admin.
I use Powershell 7.4.5 with PnP Powershell 2.12.0
How can I solve my problem?
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions