SharePoint PnP - OneDrive PreProvisioning via App Registration & App Principal #9997
Open
1 of 9 tasks
Labels
Needs: Triage 🔍
Awaiting categorization and initial review.
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope=" http://sharepoint/content/tenant" Right="FullControl" />
AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope=" http://sharepoint/social/tenant" Right="FullControl" />
Issue description
Hi all, we are trying to carry out the OneDrive pre-provisioning via an automated way, where we have followed the instructions: https://pnp.github.io/powershell/cmdlets/Request-PnPPersonalSite.html. Unfortunately, we always get the following error message, although we believe that we have set up the app permission and / or app principal correctly.
The commands "Get-PnPSites", "Get-PnPTenantSite" and "Get-PnPUserProfileProperty -Account XY" work. The error occurs with the command "Request-PnPPersonalSite -UserEmail XY".
Has anyone already been able to run OneDrive pre-provisioning via an automated script?
Which domain must be entered for the app principal? (contoso.onmicrosoft.com or contoso.com?)
Which redirect URL must be entered for the app principal? (contoso.sharepoint.com / contoso-my.sharepoint.com / contoso-admin.sharepoint.com?)
Kind Regards, D
The text was updated successfully, but these errors were encountered: