Skip to content

Commit 45b96d6

Browse files
committed
Fix contact template deployment to align with frontend changes
1 parent 428ebd3 commit 45b96d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/CIPPStandards/Public/Standards/Invoke-CIPPStandardDeployContactTemplates.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function Invoke-CIPPStandardDeployContactTemplates {
147147
@{ Template = 'hidefromGAL'; Current = $ExistingContact.HiddenFromAddressListsEnabled; IsBool = $true }
148148
@{ Template = 'companyName'; Current = $ExtendedContact.Company }
149149
@{ Template = 'state'; Current = $ExtendedContact.StateOrProvince }
150-
@{ Template = 'streetAddress'; Current = $ExtendedContact.Office }
150+
@{ Template = 'streetAddress'; Current = $ExtendedContact.StreetAddress }
151151
@{ Template = 'businessPhone'; Current = $ExtendedContact.Phone }
152152
@{ Template = 'website'; Current = $ExtendedContact.WebPage }
153153
@{ Template = 'jobTitle'; Current = $ExtendedContact.Title }
@@ -338,7 +338,7 @@ function Invoke-CIPPStandardDeployContactTemplates {
338338
$PropertyMap = @{
339339
'Company' = $Template.companyName
340340
'StateOrProvince' = $Template.state
341-
'Office' = $Template.streetAddress
341+
'StreetAddress' = $Template.streetAddress
342342
'Phone' = $Template.businessPhone
343343
'WebPage' = $Template.website
344344
'Title' = $Template.jobTitle

0 commit comments

Comments
 (0)