[BUG]Issue with New-PnPSite Command #4374
Replies: 3 comments
-
I'm getting the same from the following
was fine at approx 14:30 GMT+1. came in this morning and while i can create most sites i try (around 30 during testing) 1 or 2 at random produce the error in question. |
Beta Was this translation helpful? Give feedback.
-
Is this a confirmed bug? Started happening in our environment, and our scripted deployments are blocked. |
Beta Was this translation helpful? Give feedback.
-
I am also running into this issue. I cannot seem to determine what is causing it to happen as I followed all available documentation and verified that none of the information being passed is already in use and that the -owners existed as users in Microsoft.Graph. I believe that this is a bug happening with New-PnPSite. Code running: Error Recieved: I used Microsoft.Graph to verify the existence of the actual email being passed into owners, and Get-PnPTenantSite to verify that the site being created did not already exist. |
Beta Was this translation helpful? Give feedback.
-
When I run "New-PnPSite -Type TeamSite -Title $title -Alias $title -Owners $owner", I get the following error:
New-PnPSite : {"error":{"code":"-1, System.Data.Services.Client.DataServiceRequestException","message":"An error occurred while processing this request."}}
Initially, this command worked perfectly. However, after creating several sites without making any specific changes to the script, this error started to appear. Since this error has started occurring, I have not been able to create any sites.
Beta Was this translation helpful? Give feedback.
All reactions