Set-PnPUserProfileProperty using Application Permissions

New Contributor



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?



1 Reply
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.