Skip to content

Commit

Permalink
fix bulk import
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Jan 8, 2025
1 parent 8849773 commit dade7c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Function Invoke-AddSiteBulk {

$Results = [System.Collections.ArrayList]@()

foreach ($sharepointObj in $Request.body.BulkSite) {
foreach ($sharepointObj in $Request.Body.bulkSites) {
try {
$SharePointSite = New-CIPPSharepointSite -SiteName $SharePointObj.siteName -SiteDescription $SharePointObj.siteDescription -SiteOwner $SharePointObj.siteOwner -TemplateName $SharePointObj.templateName -SiteDesign $SharePointObj.siteDesign -SensitivityLabel $SharePointObj.sensitivityLabel -TenantFilter $Request.body.TenantFilter
$Results.add($SharePointSite)
Expand Down

0 comments on commit dade7c9

Please sign in to comment.