-
NoticeMany bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Reporting an Issue or Missing FeaturePlease confirm what it is that your reporting SharePoint: Expected behaviorPlease describe what output you expect to see from the PnP PowerShell Cmdlets Actual behaviorPlease describe what you see instead. Please provide samples of output or screenshots. Steps to reproduce behaviorPlease include complete script or code samples in-line or linked from gists Create new app registration with the permissions outlined above and use the new app for authentication What is the version of the Cmdlet module you are running?(you can retrieve this by executing ModuleType Version Name ExportedCommands Manifest 1.12.0 PnP.PowerShell {Add-PnPAdaptiveScopeProperty, Add-PnPPropertyBagValue, Add-PnPSiteClassification, Copy-PnPFolder...} Which operating system/environment are you running PnP PowerShell on?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Can you please update to the latest version 2.12 or the nightly builds , test and let us know ? 1.12 is almost 2 years old and not supported anymore. |
Beta Was this translation helpful? Give feedback.
-
I updated to 2.12 and now receive an "access denied" error. This is really frustrating since I have consented to more permissions on my app than what the MS multi-tenant app had and yet with my new app registration when calling Get-PnPFile SharePoint REST service it is giving me an access denied for the same files it worked for before the deprecation of the MS app |
Beta Was this translation helpful? Give feedback.
@gautamdsheth, I figured out the issue. It turns out that after changing line where the script connected to the specific site, the cut and paste left out the specific site when connecting. I believe this is why the version 1.12 was throwing the "File does not exist error" and why the version 2.12 was throwing the "access denied" error. Once I changed the code to connect to the specific site as it previously did it started working...... feeling rather embarrassed :)