PnP.Powershell requesting admin approval

%3CLINGO-SUB%20id%3D%22lingo-sub-149039%22%20slang%3D%22en-US%22%3EPnP.Powershell%20requesting%20admin%20approval%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-149039%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20executing%20the%20PNP%20PowerShell%2C%20I%20was%20presented%20with%20the%20following%20popup.%20What%20permissions%20does%20one%20need%20in%20the%20Tenant%20to%20execute%20the%20following%20connection%20command%20so%20one%20can%20create%20Office%20365%20Groups%20from%20and%20unattended%20PowerShell%20script.%20Is%20there%20an%20article%20to%20reference%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConnect-PnPOnline%20-Scopes%20%22Group.ReadWrite.All%22%2C%22User.Read.All%22%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27451iE5F6E2D8D0DCD241%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22PnP.PowerShell.jpg%22%20title%3D%22PnP.PowerShell.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1800930%22%20slang%3D%22en-US%22%3ERe%3A%20PnP.Powershell%20requesting%20admin%20approval%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1800930%22%20slang%3D%22en-US%22%3EI'm%20having%20the%20same%20issue.%20Appreciate%20if%20anyone%20can%20shed%20some%20light%20on%20this%20one.%20Thank%20you.%3C%2FLINGO-BODY%3E
Occasional 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.