When using Request-PnPPersonalSit I am seeing "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" #4469
Unanswered
AshokChava
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using clientid and clientsecret to connect to tenency and then calling Request-PnPPersonalSit but getting the error Following is the code
Connect-PnPOnline -Url https://ashok-admin.sharepoint.com -ClientId $client_id -ClientSecret $client_secret
$res=Request-PnPPersonalSite -UserEmails @("[email protected]") -verbose -NoWait
The app I am using got Sharepoint Sites.FullControll.All permissions for the application. But still seeing the error. Is there any permission I am missing here?
Please suggest.
Beta Was this translation helpful? Give feedback.
All reactions