Set-PnPUserProfileProperty using Application Permissions

Copper Contributor

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.

1 Reply
Hi,
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