Forum Discussion
Brennen Cage
Apr 13, 2017Copper Contributor
Update SPO User Profile Properties with Azure AD AppOnly
Is it possible to update user profile properties in SharePoint Online using an Azure AD app for authentication/authorization? I am trying to authenticate to SharePoint using this PnP method Authentic...
Brennen Cage
Apr 17, 2017Copper Contributor
Thanks for the response!
I found that the app only needs to have 'Manage' rights to the user profile if using a SharePoint App.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Manage" />
</AppPermissionRequests>
And to use a service account, the user only needs to have the SharePoint Administrator role. They don't need to have any product licenses in SharePoint Online.
I found that the app only needs to have 'Manage' rights to the user profile if using a SharePoint App.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Manage" />
</AppPermissionRequests>
And to use a service account, the user only needs to have the SharePoint Administrator role. They don't need to have any product licenses in SharePoint Online.
Mikael Svenson
Apr 17, 2017Iron Contributor
My bad.. remebered it wrong. But glad you figured it out :)