Add-PnPListItem is not working with OAUTH #3246
Unanswered
soumyadeep22
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi Team,
Trying to add an item to a list using Add-PnPListItem. It is working fine if I go with normal basic authentication approach with username and password but when I change the method with OAuth( ClientID and certificate base) its throwing below error. My App has full control to the SharePoint Site even though its failing. App has sites.fullcontrol access already
Error:
Add-PnPListItem : Method not found: 'Void Microsoft.SharePoint.Client.ListItem.SetComplianceTag(System.String, Boolean, Boolean, Boolean, Boolean)'
PnP Version is 1.12.0
Can anybody assist here.
Regards,
Soumya
Beta Was this translation helpful? Give feedback.
All reactions