PnP.Powershell requesting admin approval

Brass Contributor

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" 

 

 

PnP.PowerShell.jpg

1 Reply
I'm having the same issue. Appreciate if anyone can shed some light on this one. Thank you.