You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Setup/Invoke-ExecAddTenant.ps1
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@ function Invoke-ExecAddTenant {
24
24
25
25
if ($tenantId-eq$env:TenantID) {
26
26
# If the tenant is the partner tenant, return an error because you cannot add the partner tenant as direct tenant
27
-
$Results=@{'message'='You cannot add the partner tenant as a direct tenant.'; 'severity'='error'; 'state'='error' }
28
-
Write-LogMessage-API 'Add-Tenant'-message "Attempted to add partner tenant $tenantId as direct tenant."-Sev 'Error'
27
+
$Results=@{'message'='You cannot add the partner tenant as a direct tenant. Please connect the tenant using the "Connect to Partner Tenant" option. '; 'severity'='error'; }
0 commit comments