Skip to content

Commit 63075ad

Browse files
committed
Updated AddContact
Fixed incorrect wording
1 parent 0cd6465 commit 63075ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AddContact/run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ try {
2424
$NewContact = New-ExoRequest -tenantid $Request.body.tenantid -cmdlet "New-MailContact" -cmdparams $BodyToship
2525
Write-Host ( $NewContact | ConvertTo-Json)
2626
New-ExoRequest -tenantid $Request.body.tenantid -cmdlet "Set-MailContact" -cmdparams @{identity = $NewContact.id; HiddenFromAddressListsEnabled = [boolean]$contactobj.hidefromGAL }
27-
$body = [pscustomobject]@{"Results" = "Successfully created shared mailbox." }
27+
$body = [pscustomobject]@{"Results" = "Successfully added a contact." }
2828
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -tenant $($contactobj.tenantid) -message "Created contact $($contactobj.displayname) with id $($GraphRequest.id) for " -Sev "Info"
2929

3030
}

0 commit comments

Comments
 (0)