Open svermaak opened 3 years ago
Moving you to the powershell repo, you ended up in the PnPjs repo. No worries.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Thanks Bud
@svermaak - Had the same issue here.. New-SPSite in this case actually does a POST to the MS Graph /v1.0/groups endpoint.
Resolved the issue by adding Group.Create and Group.ReadWriteAll app permissions to the app and granting admin consent.
@mikedev8888 Thank you, I will check that out
Category
Version
Please specify what version of the library you are using: [ 3.23.2007.1 and 3.25.2009.1 ]
Please specify what version(s) of SharePoint you are targeting: [ Online ]
Expected / Desired Behavior / Question
New Team Site created
Observed Behavior
Error. I have tried various suggestions from other reported issues to no avail
![image](https://user-images.githubusercontent.com/12259728/95407722-873bee80-0969-11eb-8c7d-fd5e8777e8fa.png)
Steps to Reproduce
Connect-PnPOnline -ClientId $clientId -ClientSecret $clientSecret -Url $url -ReturnConnection New-PnPSite -Type TeamSite -Title $title -Alias $alias -Connection $tenantConnection