Forum Discussion

Lou Farho's avatar
Lou Farho
Brass Contributor
Jan 25, 2018

PnP.Powershell requesting admin approval

When executing the PNP PowerShell, I was presented with the following popup. What permissions does one need in the Tenant to execute the following connection command so one can create Office 365 Groups from and unattended PowerShell script. Is there an article to reference?

 

Connect-PnPOnline -Scopes "Group.ReadWrite.All","User.Read.All" 

 

 

1 Reply

  • arnoldhiguit's avatar
    arnoldhiguit
    Copper Contributor
    I'm having the same issue. Appreciate if anyone can shed some light on this one. Thank you.

Resources