Forum Discussion
BramV
Mar 25, 2019Copper Contributor
Set-PnPUserProfileProperty using Application Permissions
Hello,
I followed this guide to connect to Sharepoint Online using Azure app permissions.
So far so good, I can use Get-PnPUserProfileProperty to read users their profile properties. But when I try to use Set-PnPUserProfileProperty, powershell throws an Access Denied error.
Just to test, I gave my app all permissions available under the Office 365 SharePoint Online API and I still get a permission error so I'm not sure what I'm doing wrong. Anyone an idea?
Thanks.
- Sudharsan KSteel ContributorHi,
I experienced the same and I had raised an issue. We have to wait for the reply from the respective person or any alternative. The below link is for your reference.
https://github.com/MicrosoftDocs/office-docs-powershell/issues/5074