File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Tenant Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Function Invoke-EditTenant {
15
15
Write-LogMessage - headers $Request.Headers - API $APINAME - message ' Accessed this API' - Sev ' Debug'
16
16
17
17
$customerId = $Request.Body.customerId
18
- $tenantAlias = $Request.Body.Alias
18
+ $tenantAlias = $Request.Body.tenantAlias
19
19
$tenantGroups = $Request.Body.tenantGroups
20
20
21
21
$PropertiesTable = Get-CippTable - TableName ' TenantProperties'
@@ -38,7 +38,7 @@ Function Invoke-EditTenant {
38
38
RowKey = ' Alias'
39
39
Value = $tenantAlias
40
40
}
41
- Add-CIPPAzDataTableEntity @PropertiesTable - Entity $aliasEntity - Force
41
+ $null = Add-CIPPAzDataTableEntity @PropertiesTable - Entity $aliasEntity - Force
42
42
Write-Host " Setting alias to $tenantAlias "
43
43
$Tenant.displayName = $tenantAlias
44
44
$null = Add-CIPPAzDataTableEntity @TenantTable - Entity $Tenant - Force
You can’t perform that action at this time.
0 commit comments