Can Get nut can't Set with pnp.powershell #248
Replies: 2 comments
-
Hi, none of the set-* cmdlets work? Or just this one? We modified the PnP Management Shell application a last week ago to actually include the permissions for the user profile service. If you went through the granting the PnP Management Shell application before that you would have to do this again. Just launch |
Beta Was this translation helpful? Give feedback.
-
Seems like I am facing the same problem. I have registered the application today (PnP.PowerShell version 1.3.0) Code Error:
The application permissions for "PnP Management Shell" seems to be ok: |
Beta Was this translation helpful? Give feedback.
-
I am a Global Admin and everything was working fine using the SharepointPnPPowerShellOnline Module. I loaded the pnp.powershell module, went through the process and the the PnP Management Shell Enterprise App is out there with all its permissions. I verified I am connecting to the App and can use GET commands all day long but I cannot use SET commands and receive the following errors. Any assistance would be greatly appreciated.
Set-pnpuserprofileproperty : Access denied. You do not have permission to perform this action or access this resource.
At line:1 char:1
Beta Was this translation helpful? Give feedback.
All reactions