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?