Replies: 1 comment 2 replies
-
The functionality works fine, but I have also experienced problems with Set-PnPUserProfileProperty and permissions, depending on how I set it. For example, if using certificates for a service principal, I got the above error, but if I switched to ClientSecret and App-Only SharePoint permissions, it worked fine (Tenant: FullControl, Social: FullControl in AppPermissionRequest) What permissions are you using for this? If you plan to automate, service principal is the way to go compared with an account. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I'm new to this module, but not Powershell. I'm exploring whether I can use the PnP module to automate syncing some AD attributes to Sharepoint Online User Profile App (UPA).
All my searching seems to have lead me to the Set-PnPUserProfileProperty cmdlet. I was able to get connected and register the PNP management shell, but when I attempt to modify any user's profile properties I'm always greeted with this error and I can't find any reference to it online.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions